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