C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
StoredAPIResource_Polymorphic.cs
Go to the documentation of this file.
1using System.Reflection;
2using System.Runtime.Serialization;
5
6namespace AnalyzeRe.APITypes
7{
10 {
12 [DataMember(Order = 1, Name = APIType_Polymorphic.TypePropertyName)]
14
18 MethodBase.GetCurrentMethod().DeclaringType);
19 }
20}
Base class used by all types and resources.
Describes a collection of resources which can be listed.
Stored resource that is polymorphic (has more than one sub-type).
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.
Base class used by all persistent resources.
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.