Example #1
0
 public ChatSchema(IChat chat, IServiceProvider provider) : base(provider)
 {
     Query        = new ChatQuery(chat);
     Mutation     = new ChatMutation(chat);
     Subscription = new ChatSubscriptions(chat);
 }
Example #2
0
 public ChatSchema(IChat chat)
 {
     Query        = new ChatQuery(chat);
     Mutation     = new ChatMutation(chat);
     Subscription = new ChatSubscriptions(chat);
 }