示例#1
0
 internal static ServerEmoji CreateFromJson(ulong serverId, EmojiJson json, [CanBeNull] object state)
 {
     return(FactoryUtils.CreateFromJson(_cache, state, json2 => new ServerEmoji(serverId, json, 1), Populate, json));
 }
示例#2
0
文件: User.cs 项目: hujgup/DiscordApi
 internal static User CreateFromJson(UserJson json, [CanBeNull] object state)
 {
     return(FactoryUtils.CreateFromJson(_cache, state, json2 => new User(json2), Populate, json));
 }