public WorkItemParent(string id, WorkItemParentType type) { if (id == null) { throw new ArgumentNullException("id"); } Id = id; Type = type; }
public WorkItemParent AsParent(WorkItemParentType parentType) { return(new WorkItemParent(Id, parentType)); }
public WorkItem UpdateParent(string parentId, WorkItemParentType parentType) { var parent = new WorkItemParent(parentId, parentType); return(new WorkItem(Id, Path, Classes, Status, parent, _ordinal, _properties, Timestamp, LastMoved)); }
public WorkItem CreateChildItem(string id, WorkItemParentType parentType) { var parent = new WorkItemParent(Id, parentType); return(new WorkItem(id, Path, Classes, Status, parent, _ordinal, _properties, Timestamp, LastMoved)); }
public WorkItemParent(string id, WorkItemParentType type) { if(id==null) { throw new ArgumentNullException("id"); } Id = id; Type = type; }
public WorkItem UpdateParent(string parentId, WorkItemParentType parentType) { var parent = new WorkItemParent(parentId, parentType); return new WorkItem(Id, Path, Classes, Status, parent, _ordinal, _properties, Timestamp, LastMoved); }
public WorkItem CreateChildItem(string id, WorkItemParentType parentType) { var parent = new WorkItemParent(Id, parentType); return new WorkItem(id, Path, Classes, Status, parent, _ordinal, _properties, Timestamp, LastMoved); }
public WorkItemParent AsParent(WorkItemParentType parentType) { return new WorkItemParent(Id,parentType); }