public ProcessCompletionArgs(ProcessStartArgs startargs) : base() { StepProcess = new List <ProcessStepCompletionArgs>(); Libelle = startargs.Libelle; SchemaUri = startargs.SchemaUri; TemplatePath = startargs.TemplateDirectoryPath; StartTime = startargs.StartTime; }
public TemplateUtility(string schemaPath, string path) { if (string.IsNullOrEmpty(path)) { throw new ArgumentException("L'url du repository du template est vide."); } if (string.IsNullOrEmpty(schemaPath)) { throw new ArgumentException("Impossible de récupérer le schéma."); } _processStartArgs = new ProcessStartArgs() { SchemaUri = schemaPath, TemplateDirectoryPath = path, Libelle = string.Format(TemplateValidatorResources.Process_Title, path) }; _unusedFiles = new string[] { }; }
protected virtual void OnProcessStart(ProcessStartArgs e) => ProcessStart?.Invoke(this, e);