Exemplo n.º 1
0
 public object BeforeCall(string operationName, object[] inputs)
 {
     if (WebOperationContext.Current != null)
     {
         string methodName = WebOperationContext.Current.IncomingRequest.UriTemplateMatch.QueryParameters[callback];
         if (methodName != null)
         {
             var property = new JSONPMessageProperty
             {
                 MethodName = methodName
             };
             OperationContext.Current.OutgoingMessageProperties.Add(Name, property);
         }
     }
     return(null);
 }
 internal JSONPMessageProperty(JSONPMessageProperty other)
 {
     MethodName = other.MethodName;
 }
Exemplo n.º 3
0
 internal JSONPMessageProperty(JSONPMessageProperty other)
 {
     MethodName = other.MethodName;
 }