Пример #1
0
 protected void ReadParameters(ProgramParameters parameters)
 {
     ResultURI = parameters.ResultURI;
     AgentId   = parameters.AgentId;
     Actor     = parameters.Actor;
 }
Пример #2
0
        public virtual void ReadParamsFromJson(string jsonText)
        {
            ProgramParameters prm = JsonConvert.DeserializeObject <ProgramParameters>(jsonText);

            ReadParameters(prm);
        }