예제 #1
0
        internal static RestGame Create(BaseTwitchClient client, Model model)
        {
            var entity = new RestGame(client, model.Id);

            entity.Update(model);
            return(entity);
        }
예제 #2
0
 internal virtual void Update(Model model)
 {
     Name        = model.Name;
     Viewers     = model.Viewers;
     GiantbombId = model.GiantbombId;
     Box         = model.Box;
     Logo        = model.Logo;
 }