コード例 #1
0
ファイル: LocalYamlModelLoader.cs プロジェクト: vigoo/bari
 /// <summary>
 /// Creates the model loader
 /// </summary>
 /// <param name="suiteFactory">Factory interface to create new suite instances</param>
 /// <param name="parametersLoaders">Parameter loader implementations</param>
 /// <param name="output">Output interface to issue warnings</param>
 /// <param name="pluginLoader">Plugin loader interface</param>
 /// <param name="environmentVariableContext">Environment variable context</param>
 /// <param name="suiteValidator">Suite validator interface</param>
 public LocalYamlModelLoader(ISuiteFactory suiteFactory, IEnumerable<IYamlProjectParametersLoader> parametersLoaders, IUserOutput output, IPluginLoader pluginLoader, IEnvironmentVariableContext environmentVariableContext, ISuiteValidator suiteValidator)
     : base(suiteFactory, parametersLoaders, output, pluginLoader, environmentVariableContext, suiteValidator)
 {
     Contract.Requires(suiteFactory != null);
     Contract.Requires(output != null);
     Contract.Requires(pluginLoader != null);
     Contract.Requires(environmentVariableContext != null);
     Contract.Requires(suiteValidator!= null);
 }
コード例 #2
0
 /// <summary>
 /// Creates the model loader
 /// </summary>
 /// <param name="suiteFactory">Factory interface to create new suite instances</param>
 /// <param name="parametersLoaders">Parameter loader implementations</param>
 /// <param name="output">Output interface to issue warnings</param>
 /// <param name="pluginLoader">Plugin loader interface</param>
 /// <param name="environmentVariableContext">Environment variable context</param>
 /// <param name="suiteValidator">Suite validator interface</param>
 public LocalYamlModelLoader(ISuiteFactory suiteFactory, IEnumerable <IYamlProjectParametersLoader> parametersLoaders, IUserOutput output, IPluginLoader pluginLoader, IEnvironmentVariableContext environmentVariableContext, ISuiteValidator suiteValidator)
     : base(suiteFactory, parametersLoaders, output, pluginLoader, environmentVariableContext, suiteValidator)
 {
     Contract.Requires(suiteFactory != null);
     Contract.Requires(output != null);
     Contract.Requires(pluginLoader != null);
     Contract.Requires(environmentVariableContext != null);
     Contract.Requires(suiteValidator != null);
 }
コード例 #3
0
ファイル: YamlModelLoaderBase.cs プロジェクト: zvrana/bari
        /// <summary>
        /// Initializes the yaml loader
        /// </summary>
        /// <param name="suiteFactory">Factory interface to create new suite instances</param>
        /// <param name="parametersLoaders">Parameter loader implementations</param>
        /// <param name="output">Output interface to issue warnings</param>
        protected YamlModelLoaderBase(ISuiteFactory suiteFactory, IEnumerable<IYamlProjectParametersLoader> parametersLoaders, IUserOutput output)
        {
            Contract.Requires(suiteFactory != null);
            Contract.Requires(output != null);
            Contract.Ensures(this.suiteFactory == suiteFactory);
            Contract.Ensures(this.parametersLoaders == parametersLoaders);

            this.suiteFactory = suiteFactory;
            this.parametersLoaders = parametersLoaders;
            this.output = output;

            parser = new YamlParser();
        }
コード例 #4
0
ファイル: YamlModelLoaderBase.cs プロジェクト: zvrana/bari
        /// <summary>
        /// Initializes the yaml loader
        /// </summary>
        /// <param name="suiteFactory">Factory interface to create new suite instances</param>
        /// <param name="parametersLoaders">Parameter loader implementations</param>
        /// <param name="output">Output interface to issue warnings</param>
        protected YamlModelLoaderBase(ISuiteFactory suiteFactory, IEnumerable <IYamlProjectParametersLoader> parametersLoaders, IUserOutput output)
        {
            Contract.Requires(suiteFactory != null);
            Contract.Requires(output != null);
            Contract.Ensures(this.suiteFactory == suiteFactory);
            Contract.Ensures(this.parametersLoaders == parametersLoaders);

            this.suiteFactory      = suiteFactory;
            this.parametersLoaders = parametersLoaders;
            this.output            = output;

            parser = new YamlParser();
        }
コード例 #5
0
ファイル: YamlModelLoaderBase.cs プロジェクト: vigoo/bari
        /// <summary>
        /// Initializes the yaml loader
        /// </summary>
        /// <param name="suiteFactory">Factory interface to create new suite instances</param>
        /// <param name="parametersLoaders">Parameter loader implementations</param>
        /// <param name="output">Output interface to issue warnings</param>
        /// <param name="pluginLoader">Plugin loader interface</param>
        /// <param name="environmentVariableContext">Environment variable context</param>
        /// <param name="validator">Suite validator interface</param>
        protected YamlModelLoaderBase(ISuiteFactory suiteFactory, IEnumerable<IYamlProjectParametersLoader> parametersLoaders, IUserOutput output, IPluginLoader pluginLoader, IEnvironmentVariableContext environmentVariableContext, ISuiteValidator validator)
        {
            Contract.Requires(suiteFactory != null);
            Contract.Requires(output != null);
            Contract.Requires(pluginLoader != null);
            Contract.Requires(environmentVariableContext != null);
            Contract.Requires(validator != null);
            Contract.Ensures(this.suiteFactory == suiteFactory);
            Contract.Ensures(this.parametersLoaders == parametersLoaders);

            this.suiteFactory = suiteFactory;
            this.parametersLoaders = parametersLoaders;
            this.output = output;
            this.pluginLoader = pluginLoader;
            this.validator = validator;

            versioningEnvironmentVariableContext = new VersioningEnvironmentVariableContext(environmentVariableContext);
            parser = new YamlParser();
        }
コード例 #6
0
        /// <summary>
        /// Initializes the yaml loader
        /// </summary>
        /// <param name="suiteFactory">Factory interface to create new suite instances</param>
        /// <param name="parametersLoaders">Parameter loader implementations</param>
        /// <param name="output">Output interface to issue warnings</param>
        /// <param name="pluginLoader">Plugin loader interface</param>
        /// <param name="environmentVariableContext">Environment variable context</param>
        /// <param name="validator">Suite validator interface</param>
        protected YamlModelLoaderBase(ISuiteFactory suiteFactory, IEnumerable <IYamlProjectParametersLoader> parametersLoaders, IUserOutput output, IPluginLoader pluginLoader, IEnvironmentVariableContext environmentVariableContext, ISuiteValidator validator)
        {
            Contract.Requires(suiteFactory != null);
            Contract.Requires(output != null);
            Contract.Requires(pluginLoader != null);
            Contract.Requires(environmentVariableContext != null);
            Contract.Requires(validator != null);
            Contract.Ensures(this.suiteFactory == suiteFactory);
            Contract.Ensures(this.parametersLoaders == parametersLoaders);

            this.suiteFactory      = suiteFactory;
            this.parametersLoaders = parametersLoaders;
            this.output            = output;
            this.pluginLoader      = pluginLoader;
            this.validator         = validator;

            versioningEnvironmentVariableContext = new VersioningEnvironmentVariableContext(environmentVariableContext);
            parser = new YamlParser();
        }
コード例 #7
0
 public DefaultLinkedDataProofService(ISuiteFactory suiteFactory, IDocumentLoader documentLoader)
 {
     this.suiteFactory   = suiteFactory;
     this.documentLoader = documentLoader;
 }
コード例 #8
0
 /// <summary>
 /// Creates the model loader
 /// </summary>
 /// <param name="suiteFactory">Factory interface to create new suite instances</param>
 /// <param name="parametersLoaders">Parameter loader implementations</param>
 /// <param name="output">Output interface to issue warnings</param>
 public InMemoryYamlModelLoader(ISuiteFactory suiteFactory, IEnumerable <IYamlProjectParametersLoader> parametersLoaders, IUserOutput output)
     : base(suiteFactory, parametersLoaders, output)
 {
     Contract.Requires(suiteFactory != null);
     Contract.Requires(output != null);
 }
コード例 #9
0
 /// <summary>
 /// Creates the model loader
 /// </summary>
 /// <param name="suiteFactory">Factory interface to create new suite instances</param>
 /// <param name="parametersLoaders">Parameter loader implementations</param>
 /// <param name="output">Output interface to issue warnings</param>
 public InMemoryYamlModelLoader(ISuiteFactory suiteFactory, IEnumerable<IYamlProjectParametersLoader> parametersLoaders, IUserOutput output)
     : base(suiteFactory, parametersLoaders, output)
 {
     Contract.Requires(suiteFactory != null);
     Contract.Requires(output != null);
 }