Пример #1
0
 /// <summary>
 /// Gets whethere the specified type is an interface.
 /// </summary>
 /// <param name="type">The type to test.</param>
 /// <returns>Returns true if the type is an interface.</returns>
 public static bool IsInterface(this ConceptualType_I type)
 {
     return(XConceptualMetadataBase.Api.Elements.Types.IsInterface(type));
 }
Пример #2
0
 public static bool IsTypeParameter(this ConceptualType_I type)
 {
     return(XConceptualMetadataBase.Api.Elements.Types.IsTypeParameter(type));
 }
Пример #3
0
 public RuntimeTypeHandle TypeHandle(ConceptualType_I type)
 {
     return(XMetadataBase.Api.TypeHandle(type));
 }
Пример #4
0
 /// <summary>
 /// Gets the type handle associated with the specified type;
 /// </summary>
 /// <param name="type">The type from which to get the associated handle.</param>
 /// <returns>Returns the type handle associated with the specified type.  If one is not associated, it returns the default handle.</returns>
 public static RuntimeTypeHandle TypeHandle(this ConceptualType_I type)
 {
     return(XConceptualMetadataBase.Api.Elements.Types.TypeHandle(type));
 }
Пример #5
0
 public bool IsTypeParameter(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.TypeParameter);
 }
Пример #6
0
 public bool IsArray(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Array);
 }
Пример #7
0
 public bool IsStruct(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Struct);
 }
Пример #8
0
 public bool IsDelegate(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Delegate);
 }
Пример #9
0
 public bool IsInterface(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Interface);
 }