Exemple #1
0
 public ClrNamespace(ClrAssembly owner, string name, IEnumerable <Type> types)
 {
     Assembly       = owner;
     Name           = name;
     TypeCategories = types.Where(type => !type.IsNested).Select(type => ClrType.Create(this, type)).ToLookup(type => type.Category);
 }
Exemple #2
0
 public ClrInterface(ClrType owner, Type typeInfo)
     : base(owner, typeInfo)
 {
 }
Exemple #3
0
 public ClrOperator(ClrType owner, MethodInfo methodInfo)
     : base(owner, methodInfo)
 {
 }
Exemple #4
0
 public ClrEvent(ClrType owner, EventInfo eventInfo)
     : base(owner, eventInfo)
 {
 }
Exemple #5
0
 private ClrType(ClrNamespace ns, ClrType owner, Type typeInfo)
     : base(owner, typeInfo)
 {
     Namespace = ns ?? owner.Namespace;
     Members   = CollectMembers();
 }
Exemple #6
0
 protected ClrType(ClrType owner, Type typeInfo)
     : this(null, owner, typeInfo)
 {
 }
Exemple #7
0
 public ClrStructure(ClrType owner, Type typeInfo)
     : base(owner, typeInfo)
 {
 }