Class TypeExtensions
Provides extension methods for Type.
public static class TypeExtensions
- Inheritance
-
TypeExtensions
- Inherited Members
Methods
GetCompactIceTypeId(Type)
Retrieves the compact Ice type ID from a type with the attribute CompactIceTypeIdAttribute.
public static int? GetCompactIceTypeId(this Type type)
Parameters
typeTypeThe type of a class generated by the Ice compiler.
Returns
- int?
The compact Ice type ID, or null if
typedoes not carry the CompactIceTypeIdAttribute attribute.
GetIceTypeId(Type)
Retrieves the Ice type ID from a type with the attribute IceTypeIdAttribute.
public static string? GetIceTypeId(this Type type)
Parameters
typeTypeThe type of a class or interface generated by the Ice compiler.
Returns
- string
The Ice type ID, or null if
typedoes not carry the IceTypeIdAttribute attribute.