Exemplo n.º 1
0
        static void RegisterUser(IUserFactory userFactory)
        {
            IUser user = userFactory.CreateUser("Max", "Planck");

            IUserIdentity id = userFactory.CreateIdentity();

            user.SetIdentity(id);
        }