/* *******************************************************************
  *  Constructors 
  * *******************************************************************/
 #region public CorsDispatchMessageInspector()
 /// <summary>
 /// Initializes a new instance of the <b>CorsDispatchMessageInspector</b> class.
 /// </summary>
 public CorsDispatchMessageInspector(ServiceEndpoint serviceEndpoint, CorsBehaviorAttribute behavior)
 {
     _serviceEndpoint = serviceEndpoint;
     _behavior = behavior;
 }
示例#2
0
 /* *******************************************************************
 *  Constructors
 * *******************************************************************/
 #region public CorsDispatchMessageInspector()
 /// <summary>
 /// Initializes a new instance of the <b>CorsDispatchMessageInspector</b> class.
 /// </summary>
 public CorsDispatchMessageInspector(ServiceEndpoint serviceEndpoint, CorsBehaviorAttribute behavior)
 {
     _serviceEndpoint = serviceEndpoint;
     _behavior        = behavior;
 }