Esempio n. 1
0
 public ProcessCompletionArgs(ProcessStartArgs startargs) : base()
 {
     StepProcess  = new List <ProcessStepCompletionArgs>();
     Libelle      = startargs.Libelle;
     SchemaUri    = startargs.SchemaUri;
     TemplatePath = startargs.TemplateDirectoryPath;
     StartTime    = startargs.StartTime;
 }
Esempio n. 2
0
        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[] { };
        }
Esempio n. 3
0
 protected virtual void OnProcessStart(ProcessStartArgs e) => ProcessStart?.Invoke(this, e);