Esempio n. 1
0
 static ServiceProxySystem()
 {
     UserResolvers = new UserResolvers();
     UserResolvers.AddResolver(new DefaultWebUserResolver());
     RoleResolvers = new RoleResolvers();
     RoleResolvers.AddResolver(new DefaultRoleResolver());
 }
Esempio n. 2
0
        public object Clone()
        {
            RoleResolvers clone = new RoleResolvers();

            clone.CopyProperties(this);
            clone._resolvers = new List <IRoleResolver>();
            _resolvers.Each(r => clone._resolvers.Add((IRoleResolver)r.Clone()));
            return(clone);
        }