Skip to content
Docs Try Aspire

AtsTypeMapping Methods

Class Methods 2 members
Static utility for deriving ATS type IDs from CLR types.
DeriveTypeId(string, string) Section titled DeriveTypeId(string, string) static string
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)
{
// ...
}
}
assemblyName string The assembly name.
fullTypeName string The full type name including namespace.
string The derived type ID in format {AssemblyName}/{FullTypeName}.
DeriveTypeId(Type) Section titled DeriveTypeId(Type) static string
Derives an ATS type ID from a CLR type.
public static class AtsTypeMapping
{
public static string DeriveTypeId(
Type type)
{
// ...
}
}
type Type The CLR type.
string The derived type ID in format {AssemblyName}/{FullTypeName}.