/// <summary> /// Initializes a new instance of the NewAzureWebsiteCommand class. /// </summary> /// <param name="githubChannel"> /// Channel used for communication with the github APIs. /// </param> public NewAzureWebsiteCommand(IGithubServiceManagement githubChannel) { GithubChannel = githubChannel; }
/// <summary> /// Initializes a new instance of the NewAzureWebsiteCommand class. /// </summary> /// <param name="channel"> /// Channel used for communication with Azure's service management APIs. /// </param> /// <param name="githubChannel"> /// Channel used for communication with the github APIs. /// </param> public NewAzureWebsiteCommand(IWebsitesServiceManagement channel, IGithubServiceManagement githubChannel) { Channel = channel; GithubChannel = githubChannel; }
public static GithubRepositoryHook UpdateRepositoryHook(this IGithubServiceManagement proxy, string owner, string repository, string id, GithubRepositoryHook hook) { return(proxy.EndUpdateRepositoryHook(proxy.BeginUpdateRepositoryHook(owner, repository, id, hook, null, null))); }
public static void TestRepositoryHook(this IGithubServiceManagement proxy, string owner, string repository, string id) { proxy.EndTestRepositoryHook(proxy.BeginTestRepositoryHook(owner, repository, id, null, null)); }
public static List <GithubRepository> GetRepositoriesFromOrg(this IGithubServiceManagement proxy, string organization) { return(proxy.EndGetRepositoriesFromOrg(proxy.BeginGetRepositoriesFromOrg(organization, null, null))); }
public static List <GithubRepositoryHook> GetRepositoryHooks(this IGithubServiceManagement proxy, string owner, string repository) { return(proxy.EndGetRepositoryHooks(proxy.BeginGetRepositoryHooks(owner, repository, null, null))); }
public static List <GithubRepository> GetRepositories(this IGithubServiceManagement proxy) { return(proxy.EndGetRepositories(proxy.BeginGetRepositories(null, null))); }
public static List <GithubRepository> GetRepositoriesFromUser(this IGithubServiceManagement proxy, string user) { return(proxy.EndGetRepositoriesFromUser(proxy.BeginGetRepositoriesFromUser(user, null, null))); }
public static List <GithubOrganization> GetOrganizationsFromUser(this IGithubServiceManagement proxy, string user) { return(proxy.EndGetOrganizationsFromUser(proxy.BeginGetOrganizationsFromUser(user, null, null))); }
public static List <GithubOrganization> GetOrganizations(this IGithubServiceManagement proxy) { return(proxy.EndGetOrganizations(proxy.BeginGetOrganizations(null, null))); }
public static GithubAuthorization CreateAuthorizationToken(this IGithubServiceManagement proxy, GithubAuthorizationRequest request) { return(proxy.EndCreateAuthorizationToken(proxy.BeginCreateAuthorizationToken(request, null, null))); }