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