public MailslotPermissionEntry(MailslotPermissionAccess permissionAccess, string name, string machineName) { this.permissionAccess = permissionAccess; this.name = name; this.machineName = machineName; }
//<Snippet2> public MailslotPermission(MailslotPermissionAccess permissionAccess, string name, string machineName) { SetNames(); this.AddPermissionAccess(new MailslotPermissionEntry(permissionAccess, name, machineName)); }
internal MailslotPermissionEntry(ResourcePermissionBaseEntry baseEntry) { this.permissionAccess = (MailslotPermissionAccess)baseEntry.PermissionAccess; this.name = baseEntry.PermissionAccessPath[0]; this.machineName = baseEntry.PermissionAccessPath[1]; }