public TextMetalConsoleApplication([DependencyInjection] IDataTypeFascade dataTypeFascade, [DependencyInjection] IAppConfigFascade appConfigFascade, [DependencyInjection] IReflectionFascade reflectionFascade, [DependencyInjection] IAssemblyInformationFascade assemblyInformationFascade) : base(dataTypeFascade, appConfigFascade, reflectionFascade, assemblyInformationFascade) { }
protected ExecutableApplicationFascade(IDataTypeFascade dataTypeFascade, IAppConfigFascade appConfigFascade, IReflectionFascade reflectionFascade, IAssemblyInformationFascade assemblyInformationFascade) { if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } if ((object)appConfigFascade == null) { throw new ArgumentNullException(nameof(appConfigFascade)); } if ((object)reflectionFascade == null) { throw new ArgumentNullException(nameof(reflectionFascade)); } if ((object)assemblyInformationFascade == null) { throw new ArgumentNullException(nameof(assemblyInformationFascade)); } this.dataTypeFascade = dataTypeFascade; this.appConfigFascade = appConfigFascade; this.reflectionFascade = reflectionFascade; this.assemblyInformationFascade = assemblyInformationFascade; }
/// <summary> /// Initializes a new instance of the AdoNetBufferingFascade class. /// </summary> /// <param name="dataTypeFascade"> The data type fascade instance to use. </param> public AdoNetBufferingFascade(IDataTypeFascade dataTypeFascade) { if ((object)dataTypeFascade == null) throw new ArgumentNullException(nameof(dataTypeFascade)); this.dataTypeFascade = dataTypeFascade; }
/// <summary> /// Initializes a new instance of the ReflectionFascade class. /// </summary> /// <param name="dataTypeFascade"> The data type instance to use. </param> public ReflectionFascade(IDataTypeFascade dataTypeFascade) { if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } this.dataTypeFascade = dataTypeFascade; }
public TextMetalToolContext(ITextMetalToolHost toolHost, IDataTypeFascade dataTypeFascade, IReflectionFascade reflectionFascade, Tokenizer tokenizer) : base(dataTypeFascade, reflectionFascade, tokenizer) { if ((object)toolHost == null) throw new ArgumentNullException(nameof(toolHost)); this.toolHost = toolHost; }
protected ModelRepository(IDataTypeFascade dataTypeFascade, IAppConfigFascade appConfigFascade) { if ((object)dataTypeFascade == null) throw new ArgumentNullException(nameof(dataTypeFascade)); if ((object)appConfigFascade == null) throw new ArgumentNullException(nameof(appConfigFascade)); this.dataTypeFascade = dataTypeFascade; this.appConfigFascade = appConfigFascade; }
public TextMetalEmailContext(StringWriter stringWriter, IDataTypeFascade dataTypeFascade, IReflectionFascade reflectionFascade, Tokenizer tokenizer) : base(dataTypeFascade, reflectionFascade, tokenizer) { if ((object)stringWriter == null) { throw new ArgumentNullException(nameof(stringWriter)); } this.stringWriter = stringWriter; }
public AppConfigFascade(IConfigurationRoot configurationRoot, IDataTypeFascade dataTypeFascade) { if ((object)configurationRoot == null) { throw new ArgumentNullException(nameof(configurationRoot)); } if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } this.dataTypeFascade = dataTypeFascade; this.configurationRoot = configurationRoot; }
public TextMetalToolHost([DependencyInjection] IDataTypeFascade dataTypeFascade, [DependencyInjection] IReflectionFascade reflectionFascade) { if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } if ((object)reflectionFascade == null) { throw new ArgumentNullException(nameof(reflectionFascade)); } this.dataTypeFascade = dataTypeFascade; this.reflectionFascade = reflectionFascade; }
/// <summary> /// Initializes a new instance of the DynamicWildcardTokenReplacementStrategy class. This overload overrides the default strict setting (true). /// </summary> /// <param name="dataTypeFascade"> The data type fascade. </param> /// <param name="reflectionFascade"> The reflection fascade. </param> /// <param name="targets"> The target object instances to evaluate (in linear order) during wildcard token replacement. </param> /// <param name="strict"> A value indicating if exceptions are thrown for bad token matches. </param> public DynamicWildcardTokenReplacementStrategy(IDataTypeFascade dataTypeFascade, IReflectionFascade reflectionFascade, object[] targets, bool strict) { if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } if ((object)reflectionFascade == null) { throw new ArgumentNullException(nameof(reflectionFascade)); } this.dataTypeFascade = dataTypeFascade; this.reflectionFascade = reflectionFascade; this.targets = targets; this.strict = strict; }
public ExecutableApplicationFascade(IDataTypeFascade dataTypeFascade, IAppConfigFascade appConfigFascade, IReflectionFascade reflectionFascade, IAssemblyInformationFascade assemblyInformationFascade) { if ((object)dataTypeFascade == null) throw new ArgumentNullException(nameof(dataTypeFascade)); if ((object)appConfigFascade == null) throw new ArgumentNullException(nameof(appConfigFascade)); if ((object)reflectionFascade == null) throw new ArgumentNullException(nameof(reflectionFascade)); if ((object)assemblyInformationFascade == null) throw new ArgumentNullException(nameof(assemblyInformationFascade)); this.dataTypeFascade = dataTypeFascade; this.appConfigFascade = appConfigFascade; this.reflectionFascade = reflectionFascade; this.assemblyInformationFascade = assemblyInformationFascade; Current = this; }
/// <summary> /// Initializes a new instance of the DynamicValueTokenReplacementStrategy class. /// </summary> /// <param name="dataTypeFascade"> The data type fascade. </param> /// <param name="reflectionFascade"> The reflection fascade. </param> /// <param name="method"> The callback method to evaluate during token replacement. </param> public DynamicValueTokenReplacementStrategy(IDataTypeFascade dataTypeFascade, IReflectionFascade reflectionFascade, Func <string[], object> method) { if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } if ((object)reflectionFascade == null) { throw new ArgumentNullException(nameof(reflectionFascade)); } if ((object)method == null) { throw new ArgumentNullException(nameof(method)); } this.dataTypeFascade = dataTypeFascade; this.reflectionFascade = reflectionFascade; this.method = method; }
protected TextMetalContext(IDataTypeFascade dataTypeFascade, IReflectionFascade reflectionFascade, Tokenizer tokenizer) { if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } if ((object)reflectionFascade == null) { throw new ArgumentNullException(nameof(reflectionFascade)); } if ((object)tokenizer == null) { throw new ArgumentNullException(nameof(tokenizer)); } this.dataTypeFascade = dataTypeFascade; this.reflectionFascade = reflectionFascade; this.tokenizer = tokenizer; }
public Tokenizer(IDataTypeFascade dataTypeFascade, IReflectionFascade reflectionFascade, IDictionary <string, ITokenReplacementStrategy> tokenReplacementStrategies, bool strictMatching) { if ((object)dataTypeFascade == null) { throw new ArgumentNullException(nameof(dataTypeFascade)); } if ((object)reflectionFascade == null) { throw new ArgumentNullException(nameof(reflectionFascade)); } if ((object)tokenReplacementStrategies == null) { throw new ArgumentNullException(nameof(tokenReplacementStrategies)); } this.dataTypeFascade = dataTypeFascade; this.reflectionFascade = reflectionFascade; this.tokenReplacementStrategies = tokenReplacementStrategies; this.strictMatching = strictMatching; }
protected AsyncExecutableApplicationFascade(IDataTypeFascade dataTypeFascade, IAppConfigFascade appConfigFascade, IReflectionFascade reflectionFascade, IAssemblyInformationFascade assemblyInformationFascade) : base(dataTypeFascade, appConfigFascade, reflectionFascade, assemblyInformationFascade) { }
public ConsoleApplicationFascade(IDataTypeFascade dataTypeFascade, IAppConfigFascade appConfigFascade, IReflectionFascade reflectionFascade, IAssemblyInformationFascade assemblyInformationFascade) : base(dataTypeFascade, appConfigFascade, reflectionFascade, assemblyInformationFascade) { }