コード例 #1
0
        internal SealedClassWithReflection(AssemblyWithReflection assembly, NamespaceWithReflection @namespace, Type type)
        {
            this.assembly   = assembly;
            this.@namespace = @namespace;
            this.type       = type;
            if (type.BaseType != null && type.BaseType != typeof(object))
            {
                baseClass = new ClassReferenceWithReflection(type.BaseType);
            }

            hiddenMembersAnalyzer = new HiddenMembersAnalyzer(type);
            typeWithReflection    = new SealedTypeWithReflection(this);
            destructor            = new Lazy <DestructorWithReflection>(InitializeDestructor);
        }
コード例 #2
0
 internal ClassNestedStructCollectionWithReflection(SealedTypeWithReflection typeWithReflection)
 {
     structCollection = new SealedClassNestedStructCollection(typeWithReflection);
 }
 internal SealedClassEventCollectionWithReflection(SealedTypeWithReflection typeWithReflection)
 {
     this.typeWithReflection = typeWithReflection;
 }
コード例 #4
0
 internal SealedClassPropertyCollectionWithReflection(SealedTypeWithReflection typeWithReflection)
 {
     this.typeWithReflection = typeWithReflection;
 }
コード例 #5
0
 internal ClassFieldCollectionWithReflection(SealedTypeWithReflection typeWithReflection)
 {
     fieldCollection = new SealedClassFieldCollection(typeWithReflection);
 }
コード例 #6
0
 internal SealedClassIndexerCollectionWithReflection(SealedTypeWithReflection typeWithReflection)
 {
     this.typeWithReflection = typeWithReflection;
 }