public SINSearchGroupResult(SINnerGroup myGroup) { this.SinGroups = new List <SINnerSearchGroup>(); SINnerSearchGroup ssg = new SINnerSearchGroup(myGroup); SinGroups.Add(ssg); }
public SINnerSearchGroup(SINnerGroup myGroup) { if (myGroup != null) { MyMembers = new List <SINnerSearchGroupMember>(); Id = myGroup.Id; MyParentGroupId = myGroup.MyParentGroupId; IsPublic = myGroup.IsPublic; MySettings = myGroup.MySettings; Groupname = myGroup.Groupname; //PasswordHash = myGroup.PasswordHash; Language = myGroup.Language; MyGroups = myGroup.MyGroups; MyAdminIdentityRole = myGroup.MyAdminIdentityRole; } }
public SINnerSearchGroup(SINnerGroup myGroup) { if (myGroup == null) { throw new ArgumentNullException(nameof(myGroup)); } MyMembers = new List <SINnerSearchGroupMember>(); Id = myGroup.Id; MyParentGroupId = myGroup.MyParentGroupId; IsPublic = myGroup.IsPublic; MySettings = myGroup.MySettings; Groupname = myGroup.Groupname; //PasswordHash = myGroup.PasswordHash; Language = myGroup.Language; MyGroups = myGroup.MyGroups; MyAdminIdentityRole = myGroup.MyAdminIdentityRole; }