C# Client Library
A C# Client Library for the AnalyzeRe REST API
APITypeAliasAttribute.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace AnalyzeRe.Attributes
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 }
APITypeAliasAttribute(string typeName)
Specify the name of the type on the API if it differs.
Specifies the name of the type on the API if it differs from the class name - used for serializing an...