protected internal ProjectItem(ProjectItemType type, Project project) : base(type) { Assertion.Require(type, "type"); Assertion.Require(project, "project"); Assertion.Require(!project.IsEmptyInstance, "Project can't be the empty instance."); this.Project = project; this.Parent = ProjectItem.Empty; }
protected internal ProjectItem(ProjectItemType type, Project project, JsonObject data) : base(type) { Assertion.Require(type, "type"); Assertion.Require(project, "project"); Assertion.Require(data, "data"); Assertion.Require(!project.IsEmptyInstance, "Project can't be the empty instance."); this.Project = project; this.Parent = ProjectItem.Empty; this.AssertIsValid(data); this.Load(data); }
protected Activity(ProjectItemType powertype) : base(powertype) { // Required by Empiria Framework for all partitioned types. }