C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
APITypeAliasAttribute.cs
Go to the documentation of this file.
1using System;
2
4{
7 [AttributeUsage(AttributeTargets.Class, Inherited = false)]
8 public class APITypeAliasAttribute : Attribute
9 {
11 public string TypeName { get; private set; }
12
16 public APITypeAliasAttribute(string typeName)
17 {
18 TypeName = typeName;
19 }
20 }
21}
Specifies the name of the type on the API if it differs from the class name - used for serializing an...
string TypeName
The string to supply as the _type of this class when serializing.
APITypeAliasAttribute(string typeName)
Specify the name of the type on the API if it differs.