public BaseAction(Models.DialogFlowResponseModelV1 model) { Model = model; Repository = ConfigurationManager.AppSettings["Repository"]; Account = ConfigurationManager.AppSettings["Account"]; Client = new GitHubClient(new ProductHeaderValue(Repository)); }
public BaseAction Create(Models.DialogFlowResponseModelV1 model, string intent) { var type = Type.GetType($"GoogleHomeGitHub.Actions.{intent}Action"); return(Activator.CreateInstance(type, model) as BaseAction); }
public PullRequestAction(Models.DialogFlowResponseModelV1 model) : base(model) { }
public FailAction(Models.DialogFlowResponseModelV1 model) : base(model) { }