Exemplo n.º 1
0
        public ValidationAspectBase(IdentityResolverType identityResolver)
        {
            switch (identityResolver)
            {
            case IdentityResolverType.WindowsIdentity: _identityResolver = new WindowsIdentityResolver();
                break;

            default:
                _identityResolver = new AnonymousIdentityResolver();
                break;
            }
        }
Exemplo n.º 2
0
 public ValidationAspect(IdentityResolverType identityResolver) : base(identityResolver)
 {
 }