コード例 #1
0
        internal new static RestChannelFollow Create(BaseTwitchClient client, Model model)
        {
            var entity = new RestChannelFollow(client);

            entity.Update(model);
            return(entity);
        }
コード例 #2
0
ファイル: RestFollow.cs プロジェクト: johnduhart/NTwitch
        internal static RestFollow Create(BaseRestClient client, Model model)
        {
            var entity = new RestFollow(client);

            entity.Update(model);
            return(entity);
        }
コード例 #3
0
 internal override void Update(Model model)
 {
     Channel = new RestChannel(Client, model.Channel.Id);
     Channel.Update(model.Channel);
     base.Update(model);
 }
コード例 #4
0
ファイル: RestFollow.cs プロジェクト: johnduhart/NTwitch
 internal virtual void Update(Model model)
 {
     CreatedAt     = model.CreatedAt;
     Notifications = model.Notifications;
 }
コード例 #5
0
ファイル: RestUserFollow.cs プロジェクト: johnduhart/NTwitch
 internal override void Update(Model model)
 {
     User = new RestUser(Client, model.User.Id);
     User.Update(model.User);
     base.Update(model);
 }