private ServiceAuthorizationBehavior(ServiceAuthorizationBehavior other)
        {
            _impersonateCallerForAllOperations = other._impersonateCallerForAllOperations;
            _impersonateOnSerializingReply     = other._impersonateOnSerializingReply;
            _principalPermissionMode           = other._principalPermissionMode;
            _isExternalPoliciesSet             = other._isExternalPoliciesSet;
            _isAuthorizationManagerSet         = other._isAuthorizationManagerSet;

            if (other._isExternalPoliciesSet || other._isAuthorizationManagerSet)
            {
                CopyAuthorizationPoliciesAndManager(other);
            }
            _isReadOnly = other._isReadOnly;
        }
 private void CopyAuthorizationPoliciesAndManager(ServiceAuthorizationBehavior other)
 {
     _externalAuthorizationPolicies = other._externalAuthorizationPolicies;
     _serviceAuthorizationManager   = other._serviceAuthorizationManager;
 }
 void CopyAuthorizationPoliciesAndManager(ServiceAuthorizationBehavior other)
 {
     externalAuthorizationPolicies = other.externalAuthorizationPolicies;
     serviceAuthorizationManager   = other.serviceAuthorizationManager;
 }