/// <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); }
/// <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); }
/// <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(); }
/// <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(); }
/// <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(); }
/// <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(); }
public DefaultLinkedDataProofService(ISuiteFactory suiteFactory, IDocumentLoader documentLoader) { this.suiteFactory = suiteFactory; this.documentLoader = documentLoader; }
/// <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); }
/// <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); }