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; }
internal ClassMethodCollectionWithReflection(ClassTypeWithReflection typeWithReflection) { this.typeWithReflection = typeWithReflection; }
internal ClassNestedStructCollectionWithReflection(ClassTypeWithReflection typeWithReflection) { structCollection = new ClassNestedStructCollection(typeWithReflection); }
internal ClassFieldCollectionWithReflection(ClassTypeWithReflection typeWithReflection) { fieldCollection = new ClassFieldCollection(typeWithReflection); }
internal ClassNestedClassCollectionWithReflection(ClassTypeWithReflection typeWithReflection) { classCollection = new ClassNestedClassCollection(typeWithReflection); }
internal AbstractClassIndexerCollectionWithReflection(ClassTypeWithReflection typeWithReflection) { this.typeWithReflection = typeWithReflection; }