Пример #1
0
        public EFilingRequest(Procedure procedure, RequesterDto requestedBy) : this()
        {
            Assertion.AssertObject(procedure, "procedure");
            Assertion.AssertObject(requestedBy, "requestedBy");

            this.Procedure = procedure;
            this.SetRequesterData(requestedBy);
            this.SetUserContextData();
        }
Пример #2
0
        internal void SetRequesterData(RequesterDto requester)
        {
            Assertion.AssertObject(requester, "requester");

            _statusHandler.EnsureCanBeEdited();

            this.RequestedBy = requester;

            this.ExtensionData.SetIfValue("requestedByData", requester.ToJson());
        }