コード例 #1
0
 public DetectEmulatorFactory(ConnectorType connectorType, Uri emulator)
 {
     this.isEmulator = connectorType == ConnectorType.Emulator;
     SetField.NotNull(out this.emulator, nameof(emulator), emulator);
 }
コード例 #2
0
 public UnwrapDialog(IDialog <IDialog <T> > antecedent)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
 }
コード例 #3
0
 public VoidDialog(IDialog <T> antecedent)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
 }
コード例 #4
0
 public PostToUserDialog(IDialog <T> antecedent)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
 }
コード例 #5
0
 public SelectDialog(IDialog <T> antecedent, Func <T, R> selector)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
     SetField.NotNull(out this.Selector, nameof(selector), selector);
 }
コード例 #6
0
 public DialogFactory(IComponentContext scope)
 {
     SetField.NotNull(out this.Scope, nameof(scope), scope);
 }
コード例 #7
0
 public FromDialog(Func <IDialog <T> > MakeDialog)
 {
     SetField.NotNull(out this.MakeDialog, nameof(MakeDialog), MakeDialog);
 }
コード例 #8
0
ファイル: BotData.cs プロジェクト: SiddharthMadras/myownbot
 public Bag(Dictionary <string, object> bag)
 {
     SetField.NotNull(out this.bag, nameof(bag), bag);
 }
コード例 #9
0
ファイル: BotData.cs プロジェクト: SiddharthMadras/myownbot
 public Bag(JObject bag)
 {
     SetField.NotNull(out this.bag, nameof(bag), bag);
 }
コード例 #10
0
ファイル: BotData.cs プロジェクト: SiddharthMadras/myownbot
 public DialogTaskManagerBotDataLoader(IBotData inner, IDialogTaskManager dialogTaskManager)
 {
     SetField.NotNull(out this.inner, nameof(inner), inner);
     SetField.NotNull(out this.dialogTaskManager, nameof(dialogTaskManager), dialogTaskManager);
 }
コード例 #11
0
ファイル: BotData.cs プロジェクト: SiddharthMadras/myownbot
 public BotDataBase(IAddress botDataKey, IBotDataStore <BotData> botDataStore)
 {
     SetField.NotNull(out this.botDataStore, nameof(botDataStore), botDataStore);
     SetField.NotNull(out this.botDataKey, nameof(botDataKey), botDataKey);
 }
コード例 #12
0
ファイル: BotData.cs プロジェクト: SiddharthMadras/myownbot
 public CachingBotDataStore(IBotDataStore <BotData> inner, CachingBotDataStoreConsistencyPolicy dataConsistencyPolicy)
 {
     SetField.NotNull(out this.inner, nameof(inner), inner);
     this.dataConsistencyPolicy = dataConsistencyPolicy;
 }
コード例 #13
0
ファイル: BotData.cs プロジェクト: SiddharthMadras/myownbot
 public ConnectorStore(IStateClient stateClient)
 {
     SetField.NotNull(out this.stateClient, nameof(stateClient), stateClient);
 }
コード例 #14
0
 public SettingsDialog(IContosoFlowersDialogFactory dialogFactory)
 {
     SetField.NotNull(out this.dialogFactory, nameof(dialogFactory), dialogFactory);
 }
コード例 #15
0
 /// <summary>
 /// Construct the QnA Scorable.
 /// </summary>
 public QnAMakerScorable(QnAMakerServiceScorable inner, ITraits <double> traits)
 {
     SetField.NotNull(out this.inner, nameof(inner), inner);
     SetField.NotNull(out this.traits, nameof(traits), traits);
 }
コード例 #16
0
 public SqlBotDataStoreModule(Assembly assembly)
 {
     SetField.NotNull(out assembly, nameof(assembly), assembly);
 }
コード例 #17
0
 /// <summary>
 /// Construct the LUIS service using the model information.
 /// </summary>
 /// <param name="model">The LUIS model information.</param>
 public LuisService(ILuisModel model)
 {
     SetField.NotNull(out this.model, nameof(model), model);
 }
コード例 #18
0
ファイル: FiberTestBase.cs プロジェクト: kenakamu/BA09Bot
            public ResolveMoqAssembly(params object[] instances)
            {
                SetField.NotNull(out this.instances, nameof(instances), instances);

                AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
            }
コード例 #19
0
 public IntroDialog(ISearchClient searchClient)
 {
     SetField.NotNull(out this.searchClient, nameof(searchClient), searchClient);
 }
コード例 #20
0
 public RouterScorable(IBotData botData, ConversationReference conversationReference, Provider provider)
 {
     SetField.NotNull(out this.botData, nameof(botData), botData);
     SetField.NotNull(out this.conversationReference, nameof(conversationReference), conversationReference);
     SetField.NotNull(out this.provider, nameof(provider), provider);
 }
コード例 #21
0
 public ThenDialog(IDialog <T> antecedent, Func <IBotContext, IAwaitable <T>, Task <R> > Action)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
     SetField.NotNull(out this.Action, nameof(Action), Action);
 }
コード例 #22
0
ファイル: ConversationTest.cs プロジェクト: vuuet/BotBuilder
 public MockConnectorFactory(IBotIdResolver botIdResolver)
 {
     SetField.NotNull(out this.botIdResolver, nameof(botIdResolver), botIdResolver);
 }
コード例 #23
0
 public ContinueWithDialog(IDialog <T> antecedent, Continuation <T, R> continuation)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
     SetField.NotNull(out this.Continuation, nameof(continuation), continuation);
 }
コード例 #24
0
 public TestDispatchDialog(Func <ILuisModel, ILuisService> MakeLuisService, IMethods methods)
 {
     SetField.NotNull(out this.MakeLuisService, nameof(MakeLuisService), MakeLuisService);
     SetField.NotNull(out this.methods, nameof(methods), methods);
 }
コード例 #25
0
 public WhereDialog(IDialog <T> antecedent, Func <T, bool> predicate)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
     SetField.NotNull(out this.Predicate, nameof(predicate), predicate);
 }
コード例 #26
0
 /// <summary>
 /// Creates a new instance of calling context.
 /// </summary>
 /// <param name="request"> The calling request.</param>
 public CallingContext(HttpRequestMessage request)
 {
     SetField.NotNull <HttpRequestMessage>(out this.Request, nameof(request), request);
 }
コード例 #27
0
 public SelectManyDialog(IDialog <T> antecedent, Func <T, IDialog <C> > function, Func <T, C, R> projection)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
     SetField.NotNull(out this.Function, nameof(function), function);
     SetField.NotNull(out this.Projection, nameof(projection), projection);
 }
コード例 #28
0
 public AlarmRingDialog(string title, IAlarmService service, IAlarmRenderer renderer)
 {
     this.title = title;
     SetField.NotNull(out this.service, nameof(service), service);
     SetField.NotNull(out this.renderer, nameof(renderer), renderer);
 }
コード例 #29
0
 public DefaultIfExceptionDialog(IDialog <T> antecedent)
 {
     SetField.NotNull(out this.Antecedent, nameof(antecedent), antecedent);
 }
コード例 #30
0
 public MessagesController(ILifetimeScope scope)
 {
     SetField.NotNull(out this.scope, nameof(scope), scope);
 }