コード例 #1
0
 /// <summary>
 /// Creates Factory.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <returns></returns>
 public static IServiceOperationsFactory Create(IOperationsBasedService service)
 {
     return new ServiceOperationsFactory(service);
 }
コード例 #2
0
 /// <summary>
 /// Prevents a default instance of the <see cref="ServiceOperationsFactory"/> class from being created.
 /// </summary>
 /// <param name="service">The service.</param>
 private ServiceOperationsFactory(IOperationsBasedService service)
 {
     this._service = service;
 }