public PrivilegeAddedEvent(IAcSession acSession, PrivilegeBase source, IPrivilegeCreateIo output) : base(acSession, source) { if (output == null) { throw new System.ArgumentNullException("output"); } this.Output = output; }
public static Privilege Create(IPrivilegeCreateIo input) { Debug.Assert(input.Id != null, "input.Id != null"); return new Privilege { Id = input.Id.Value, SubjectType = input.SubjectType, SubjectInstanceId = input.SubjectInstanceId, ObjectType = input.ObjectType, ObjectInstanceId = input.ObjectInstanceId, AcContent = input.AcContent, AcContentType = input.AcContentType }; }
internal PrivilegeAddedEvent(IAcSession acSession, PrivilegeBase source, IPrivilegeCreateIo input, bool isPrivate) : this(acSession, source, input) { this.IsPrivate = isPrivate; }