public void Update(DirectorSettings copySettings) { if (copySettings != null) { JobManagementServiceUrl = copySettings.JobManagementServiceUrl; //ApplicationId = copySettings.ApplicationId; //ApplicationVariationState = copySettings.ApplicationVariationState; SubmitterComponentId = copySettings.SubmitterComponentId; RepositoryId = copySettings.RepositoryId; UserDefinedId = copySettings.UserDefinedId; OutputDocumentsPathAfterCompleted = copySettings.OutputDocumentsPathAfterCompleted; CustomUncPathForInputDocs = copySettings.CustomUncPathForInputDocs; FirstStart = copySettings.FirstStart; AdminScopeId = copySettings.AdminScopeId; UseObjectLock = copySettings.UseObjectLock; WorkspaceId = copySettings.WorkspaceId; ExcapeMetadata = copySettings.ExcapeMetadata; } }
public string DeserializeDirectorSettings(DirectorSettings directorSettings) { return(Serialize.SerializeObject(directorSettings, typeof(DirectorSettings))); }
public DirectorSettings(DirectorSettings copySettings) { this._jobManagementServiceEndpointBehavior = new JobManagementServiceEndpointBehavior(); OutputDocumentsPathAfterCompleted = null; Update(copySettings); }