Ejemplo n.º 1
0
 void IOperationBehavior.ApplyClientBehavior(OperationDescription operationDescription, 
     ClientOperation clientOperation) 
 {
     ZipCodeInspector zipCodeInspector = new ZipCodeInspector(); 
     
     clientOperation.ParameterInspectors.Add(zipCodeInspector); 
 }
Ejemplo n.º 2
0
 void IOperationBehavior.ApplyDispatchBehavior(OperationDescription operationDescription, 
     DispatchOperation dispatchOperation)
 { 
     ZipCodeInspector zipCodeInspector = new ZipCodeInspector(); 
     
     dispatchOperation.ParameterInspectors.Add(zipCodeInspector); 
 
 }  // remaining methods empty