C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
APIType_Polymorphic.cs
Go to the documentation of this file.
1using System.Reflection;
2using System.Runtime.Serialization;
3
6
7namespace AnalyzeRe.APITypes
8{
10 [DataContract]
12 {
14 internal const string TypePropertyName = "_type";
15
17 [DataMember(Order = 1, Name = TypePropertyName)]
19
23 MethodBase.GetCurrentMethod().DeclaringType);
24 }
25}
Base class used by all types and resources.
Definition APIType.cs:8
Base class used by all types and resources.
string type
The server name for this type of resource.
static string APITypeName
Can be used to get the API type name in a static context.
Describes a collection of resources which can be listed.
Utility for resolving types given only the types name (Useful for parsing ambiguous JSON objects).
static string GetTypeNameForAPIType(Type type)
Gets the type name from the overriding type alias attribute or class name based using the supplied ty...
Interface for polymorphic types on the server.