public ServiceDescriptionBuilder(IMethodDescriptionBuilder methodDescriptionBuilder)
 {
     this.methodDescriptionBuilder = methodDescriptionBuilder;
 }
Exemplo n.º 2
0
 public ServiceDescriptionBuilder(IMethodDescriptionBuilder methodDescriptionBuilder)
 {
     this.methodDescriptionBuilder = methodDescriptionBuilder;
 }
Exemplo n.º 3
0
 public void Setup()
 {
     methodDescriptionBuilder = Substitute.For <IMethodDescriptionBuilder>();
     builder = new ServiceDescriptionBuilder(methodDescriptionBuilder);
 }
 public IMethodDescriptionBuilder GetMethodDescriptionBuilder()
 {
     return methodDescriptionBuilder ?? (methodDescriptionBuilder =
                                         (overrides.MethodDescriptionBuilder != null
                                              ? overrides.MethodDescriptionBuilder(this)
                                              : new MethodDescriptionBuilder()));
 }
 public void Setup()
 {
     methodDescriptionBuilder = Substitute.For<IMethodDescriptionBuilder>();
     builder = new ServiceDescriptionBuilder(methodDescriptionBuilder);
 }