Ejemplo n.º 1
0
 /// <summary>
 /// Create a new mock service instance.
 /// </summary>
 /// <param name="hostInfo">Host info.</param>
 /// <param name="extraConfig">Additional service configuration.</param>
 /// <returns>New mock service info instance.</returns>
 public static MockServiceInfo CreateMockService(this DreamHostInfo hostInfo, XDoc extraConfig)
 {
     return(MockService.CreateMockService(hostInfo, extraConfig));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new mock service instance.
 /// </summary>
 /// <param name="hostInfo">Host info.</param>
 /// <param name="extraConfig">Additional service configuration.</param>
 /// <param name="privateStorage">Use private storage</param>
 /// <returns>New mock service info instance.</returns>
 public static MockServiceInfo CreateMockService(this DreamHostInfo hostInfo, XDoc extraConfig, bool privateStorage)
 {
     return(MockService.CreateMockService(hostInfo, extraConfig, privateStorage));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Create a new mock service instance.
 /// </summary>
 /// <param name="hostInfo">Host info.</param>
 /// <returns>New mock service info instance.</returns>
 public static MockServiceInfo CreateMockService(this DreamHostInfo hostInfo)
 {
     return(MockService.CreateMockService(hostInfo));
 }