コード例 #1
0
 public LINEClient(LINEConfig config)
 {
     this.config     = config;
     messagingClient =
         new LineMessagingClient(
             config.ChannelAccessToken,
             config.Uri
             );
 }
コード例 #2
0
 public LINEAdapterMiddleware(LINEConfig config)
 {
     this.config = config;
 }
コード例 #3
0
 public LineMiddleware(RequestDelegate next, LINEConfig config)
 {
     this.next   = next;
     this.config = config;
 }
コード例 #4
0
 public LINEConversation(LINEConfig config)
 {
     this.client = new LINEClient(config);
 }
コード例 #5
0
 /// <summary>
 /// Add UseLINEChannel method to IAppBuilder
 /// </summary>
 /// <param name="appBuilder"></param>
 /// <param name="config">LINE Configuration</param>
 /// <returns></returns>
 public static IApplicationBuilder UseLINEChannel(this IApplicationBuilder appBuilder, LINEConfig config)
 {
     appBuilder.UseMiddleware <LineMiddleware>(config);
     return(appBuilder);
 }
コード例 #6
0
 public LINEConnectorClient(LINEConfig config)
 {
     Conversations = new LINEConversation(config);
 }