/// <summary> /// Registers service assemblies. /// </summary> /// <param name="fileNames"> /// The file names. /// </param> /// <returns> /// The <see cref="ChromelyConfiguration"/> object. /// </returns> public ChromelyConfiguration RegisterServiceAssemblies(List <string> fileNames) { ServiceAssemblies?.RegisterServiceAssemblies(fileNames); return(this); }
/// <summary> /// Registers service assembly. /// </summary> /// <param name="assembly"> /// The assembly. /// </param> /// <returns> /// The <see cref="ChromelyConfiguration"/> object. /// </returns> public ChromelyConfiguration RegisterServiceAssembly(Assembly assembly) { ServiceAssemblies?.RegisterServiceAssembly(assembly); return(this); }
/// <summary> /// Registers service assemblies. /// </summary> /// <param name="folder"> /// The folder. /// </param> /// <returns> /// The <see cref="ChromelyConfiguration"/> object. /// </returns> public ChromelyConfiguration RegisterServiceAssemblies(string folder) { ServiceAssemblies?.RegisterServiceAssemblies(folder); return(this); }
/// <summary> /// Registers service assembly. /// </summary> /// <param name="filename"> /// The filename. /// </param> /// <returns> /// The <see cref="ChromelyConfiguration"/> object. /// </returns> public ChromelyConfiguration RegisterServiceAssembly(string filename) { ServiceAssemblies?.RegisterServiceAssembly(Assembly.LoadFile(filename)); return(this); }
public void RegisterServiceAssemblies(List <string> filenames) { ServiceAssemblies?.RegisterServiceAssemblies(filenames); }
public void RegisterServiceAssemblies(string folder) { ServiceAssemblies?.RegisterServiceAssemblies(folder); }
public void RegisterServiceAssembly(Assembly assembly) { ServiceAssemblies?.RegisterServiceAssembly(assembly); }
public void RegisterServiceAssembly(string filename) { ServiceAssemblies?.RegisterServiceAssembly(Assembly.LoadFile(filename)); }