Name

TypeDelegator

Synopsis

Because System.Type is an abstract class, TypeDelegator simply wraps System.Type methods and provides the necessary implementations.

public class TypeDelegator : Type {
// Public Constructors
   public method TypeDelegator(Type delegatingType);  
// Protected Constructors
   protected method TypeDelegator();  
// Protected Instance Fields
   protected field Type typeImpl;  
// Public Instance Properties
   public override field Assembly Assembly{get; }                // overrides Type
   public override field string AssemblyQualifiedName{get; }     // overrides Type
   public override field Type BaseType{get; }                    // overrides Type
   public override field string FullName{get; }                  // overrides Type
   public override field Guid GUID{get; }                        // overrides Type
   public override field Module Module{get; }                    // overrides Type
   public override field string Name{get; }                      // overrides MemberInfo
   public override field string Namespace{get; }                 // overrides Type
   public override field RuntimeTypeHandle TypeHandle{get; }     // overrides Type
   public override field Type UnderlyingSystemType{get; }        // overrides Type
                  // Public Instance Methods
   public override method ConstructorInfo[] GetConstructors(    // overrides Type
        BindingFlags bindingAttr);  
   public override method object[] GetCustomAttributes(         // overrides MemberInfo
        bool inherit);  
   public override method object[] GetCustomAttributes(         // overrides MemberInfo
        Type attributeType, bool inherit);  
   public override method Type GetElementType();                 // overrides Type public override method EventInfo ...

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.