Пример #1
0
 static ServiceProxySystem()
 {
     UserResolvers = new UserResolvers();
     UserResolvers.AddResolver(new DefaultWebUserResolver());
     RoleResolvers = new RoleResolvers();
     RoleResolvers.AddResolver(new DefaultRoleResolver());
 }
Пример #2
0
        public object Clone()
        {
            UserResolvers clone = new UserResolvers();

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