Esempio n. 1
0
        private void SetBehaviors( )
        {
            ValidationBehavior validation = new ValidationBehavior(true, false, ruleSet);

            endpointBehavior = (IEndpointBehavior)validation;
            contractBehavior = (IContractBehavior)validation;
        }
 private void SetBehaviors()
 {
     ValidationBehavior validation = new ValidationBehavior(true, false, ruleSet);
     endpointBehavior = (IEndpointBehavior)validation;
     contractBehavior = (IContractBehavior)validation;
     operationBehavior = (IOperationBehavior)validation;
 }