Exemplo n.º 1
0
 internal virtual Membership ActivateMembership(Guild guild, IModelFactory factory)
 {
     if (!(guild is INullObject))
     {
         var membership = factory.CreateMembership(guild, this);
         memberships.Add(membership);
         return(membership);
     }
     return(Membership.Null);
 }