public ModelNode() { ChildModels = new Collection <ModelNode>(); Options = new ModelNodeOptions(); PropertyBag = new List <PropertyBagValue>(); InitDataMemberIgnorableProperties(); }
public ModelNode() { TraceService = ServiceContainer.Instance.GetService <TraceServiceBase>(); ChildModels = new Collection <ModelNode>(); Options = new ModelNodeOptions(); ModelEvents = new Dictionary <ModelEventType, List <object> >(); ModelContextEvents = new Dictionary <ModelEventType, List <object> >(); }
public static ModelNodeOptions NoSelfProcessing(this ModelNodeOptions options) { options.RequireSelfProcessing = false; return(options); }