/* *******************************************************************
  *  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;
 }
Example #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;
 }