Пример #1
0
 /// <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);
 }
Пример #2
0
 /// <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);
 }
Пример #3
0
 /// <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);
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 public void RegisterServiceAssemblies(List <string> filenames)
 {
     ServiceAssemblies?.RegisterServiceAssemblies(filenames);
 }
Пример #6
0
 public void RegisterServiceAssemblies(string folder)
 {
     ServiceAssemblies?.RegisterServiceAssemblies(folder);
 }
Пример #7
0
 public void RegisterServiceAssembly(Assembly assembly)
 {
     ServiceAssemblies?.RegisterServiceAssembly(assembly);
 }
Пример #8
0
 public void RegisterServiceAssembly(string filename)
 {
     ServiceAssemblies?.RegisterServiceAssembly(Assembly.LoadFile(filename));
 }