Ejemplo n.º 1
0
 public static new ServerTextChannel GetCached(ulong channelId)
 {
     return(FactoryUtils.GetCached(_cache, channelId));
 }
Ejemplo n.º 2
0
 public static IDirectMessageChannel GetCachedDirectMessageChannel(ulong channelId)
 {
     return((IDirectMessageChannel)FactoryUtils.GetCached(_globalCache, channelId));
 }
Ejemplo n.º 3
0
 public static Server GetCached(ulong serverId)
 {
     return(FactoryUtils.GetCached(_cache, serverId));
 }
Ejemplo n.º 4
0
 public static INonCatServerChannel GetCachedNonCatServerChannel(ulong channelId)
 {
     return((INonCatServerChannel)FactoryUtils.GetCached(_globalCache, channelId));
 }
Ejemplo n.º 5
0
 public static IChannel GetCachedNonCatChannel(ulong channelId)
 {
     return(FactoryUtils.GetCached(_globalCache, channelId));
 }
Ejemplo n.º 6
0
 public static ChannelCategory GetCached(ulong categoryId)
 {
     return(FactoryUtils.GetCached(_cache, categoryId));
 }
Ejemplo n.º 7
0
 public static new DirectMessageTextChannel GetCached(ulong channelId)
 {
     return(FactoryUtils.GetCached(_cache, channelId));
 }
Ejemplo n.º 8
0
 public static TextChannel GetCached(ulong channelId)
 {
     return(FactoryUtils.GetCached(DirectMessageTextChannel._cache, channelId) ?? (TextChannel)FactoryUtils.GetCached(ServerTextChannel._cache, channelId));
 }