Ejemplo n.º 1
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);
 }
Ejemplo n.º 2
0
 public void RegisterServiceAssembly(Assembly assembly)
 {
     ServiceAssemblies?.RegisterServiceAssembly(assembly);
 }
Ejemplo n.º 3
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);
 }
Ejemplo n.º 4
0
 public void RegisterServiceAssembly(string filename)
 {
     ServiceAssemblies?.RegisterServiceAssembly(Assembly.LoadFile(filename));
 }