示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommonTask" /> class.
 /// </summary>
 /// <param name="attributes">attributes.</param>
 /// <param name="billingAndAllocationSettings">billingAndAllocationSettings.</param>
 /// <param name="commonTaskID">commonTaskID.</param>
 /// <param name="defaultValues">defaultValues.</param>
 /// <param name="description">description.</param>
 /// <param name="lastModifiedDateTime">lastModifiedDateTime.</param>
 /// <param name="properties">properties.</param>
 /// <param name="visibilitySettings">visibilitySettings.</param>
 public CommonTask(List <AttributeValue> attributes = default(List <AttributeValue>), ProjectTaskBillingAndAllocationSettings billingAndAllocationSettings = default(ProjectTaskBillingAndAllocationSettings), StringValue commonTaskID = default(StringValue), ProjectTaskDefaultValues defaultValues = default(ProjectTaskDefaultValues), StringValue description = default(StringValue), DateTimeValue lastModifiedDateTime = default(DateTimeValue), ProjectTaskProperties properties = default(ProjectTaskProperties), VisibilitySettings visibilitySettings = default(VisibilitySettings), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files)
 {
     this.Attributes = attributes;
     this.BillingAndAllocationSettings = billingAndAllocationSettings;
     this.CommonTaskID         = commonTaskID;
     this.DefaultValues        = defaultValues;
     this.Description          = description;
     this.LastModifiedDateTime = lastModifiedDateTime;
     this.Properties           = properties;
     this.VisibilitySettings   = visibilitySettings;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectTask" /> class.
 /// </summary>
 /// <param name="activityHistory">activityHistory.</param>
 /// <param name="attribute">attribute.</param>
 /// <param name="billingAndAllocationSettings">billingAndAllocationSettings.</param>
 /// <param name="cRMLink">cRMLink.</param>
 /// <param name="_default">_default.</param>
 /// <param name="defaultValues">defaultValues.</param>
 /// <param name="description">description.</param>
 /// <param name="externalRefNbr">externalRefNbr.</param>
 /// <param name="lastModifiedDateTime">lastModifiedDateTime.</param>
 /// <param name="projectID">projectID.</param>
 /// <param name="projectTaskID">projectTaskID.</param>
 /// <param name="properties">properties.</param>
 /// <param name="status">status.</param>
 /// <param name="visibilitySettings">visibilitySettings.</param>
 public ProjectTask(List <ProjectActivity> activityHistory = default(List <ProjectActivity>), List <AttributeValue> attribute = default(List <AttributeValue>), ProjectTaskBillingAndAllocationSettings billingAndAllocationSettings = default(ProjectTaskBillingAndAllocationSettings), ProjectTaskToCRMLink cRMLink = default(ProjectTaskToCRMLink), BooleanValue _default = default(BooleanValue), ProjectTaskDefaultValues defaultValues = default(ProjectTaskDefaultValues), StringValue description = default(StringValue), StringValue externalRefNbr = default(StringValue), DateTimeValue lastModifiedDateTime = default(DateTimeValue), StringValue projectID = default(StringValue), StringValue projectTaskID = default(StringValue), ProjectTaskProperties properties = default(ProjectTaskProperties), StringValue status = default(StringValue), VisibilitySettings visibilitySettings = default(VisibilitySettings), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files)
 {
     this.ActivityHistory = activityHistory;
     this.Attribute       = attribute;
     this.BillingAndAllocationSettings = billingAndAllocationSettings;
     this.CRMLink              = cRMLink;
     this.Default              = _default;
     this.DefaultValues        = defaultValues;
     this.Description          = description;
     this.ExternalRefNbr       = externalRefNbr;
     this.LastModifiedDateTime = lastModifiedDateTime;
     this.ProjectID            = projectID;
     this.ProjectTaskID        = projectTaskID;
     this.Properties           = properties;
     this.Status             = status;
     this.VisibilitySettings = visibilitySettings;
 }