Beispiel #1
0
 protected void Initialize(object obj)
 {
     Members             = new PSMemberInfoCollectionImplementation <PSMemberInfo>(this);
     Properties          = new PSMemberInfoCollectionImplementation <PSPropertyInfo>(this);
     Methods             = new PSMemberInfoCollectionImplementation <PSMethodInfo>(this);
     ImmediateBaseObject = obj;
 }
Beispiel #2
0
 public PSMemberSet(string name)
 {
     Name           = name;
     InheritMembers = true;
     Members        = new PSMemberInfoCollectionImplementation <PSMemberInfo>(this);
     Methods        = new PSMemberInfoCollectionImplementation <PSMethodInfo>(this);
     Properties     = new PSMemberInfoCollectionImplementation <PSPropertyInfo>(this);
 }