Skip to content
DocsTry Aspire
DocsTry

AtsTypeMapping Methods

ClassMethods2 members
Static utility for deriving ATS type IDs from CLR types.
DeriveTypeId(string, string)Section titled DeriveTypeId(string, string)staticstring
Derives an ATS type ID from an assembly name and full type name.
public static class AtsTypeMapping
{
public static string DeriveTypeId(
string assemblyName,
string fullTypeName)
{
// ...
}
}
assemblyNamestringThe assembly name.
fullTypeNamestringThe full type name including namespace.
stringThe derived type ID in format {AssemblyName}/{FullTypeName}.
DeriveTypeId(Type)Section titled DeriveTypeId(Type)staticstring
Derives an ATS type ID from a CLR type.
public static class AtsTypeMapping
{
public static string DeriveTypeId(
Type type)
{
// ...
}
}
typeTypeThe CLR type.
stringThe derived type ID in format {AssemblyName}/{FullTypeName}.