コード例 #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);
 }
コード例 #2
0
 internal JSONPMessageProperty(JSONPMessageProperty other)
 {
     MethodName = other.MethodName;
 }
コード例 #3
0
 internal JSONPMessageProperty(JSONPMessageProperty other)
 {
     MethodName = other.MethodName;
 }