Пример #1
0
        internal ClassWithReflection(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 ClassTypeWithReflection(this);
            destructor            = new Lazy <DestructorWithReflection>(InitializeDestructor);
        }
 internal AbstractClassPropertyCollectionWithReflection(ClassTypeWithReflection typeWithReflection)
 {
     this.typeWithReflection = typeWithReflection;
 }
 internal ClassEventCollectionWithReflection(ClassTypeWithReflection typeWithReflection)
 {
     this.typeWithReflection = typeWithReflection;
 }
Пример #4
0
 internal ClassMethodCollectionWithReflection(ClassTypeWithReflection typeWithReflection)
 {
     this.typeWithReflection = typeWithReflection;
 }
Пример #5
0
 internal ClassNestedStructCollectionWithReflection(ClassTypeWithReflection typeWithReflection)
 {
     structCollection = new ClassNestedStructCollection(typeWithReflection);
 }
 internal ClassFieldCollectionWithReflection(ClassTypeWithReflection typeWithReflection)
 {
     fieldCollection = new ClassFieldCollection(typeWithReflection);
 }
Пример #7
0
 internal ClassNestedClassCollectionWithReflection(ClassTypeWithReflection typeWithReflection)
 {
     classCollection = new ClassNestedClassCollection(typeWithReflection);
 }
 internal AbstractClassIndexerCollectionWithReflection(ClassTypeWithReflection typeWithReflection)
 {
     this.typeWithReflection = typeWithReflection;
 }