Example #1
0
        protected internal WorkflowObject(WorkflowObjectType type,
                                          WorkflowObject parent, JsonObject data) : base(type)
        {
            Assertion.Require(parent, "parent");
            Assertion.Require(data, "data");

            this.Parent = parent;
            this.AssertIsValid(data);

            this.Load(data);
        }
Example #2
0
 protected Process(WorkflowObjectType powertype) : base(powertype)
 {
     // Required by Empiria Framework for all partitioned types.
 }