public IRepoActionFactory GetFactory(IRepoActionSettings repoActionSettings) { return(_factories.FirstOrDefault(f => f.IsFactoryFor(repoActionSettings))); }
public bool IsFactoryFor(IRepoActionSettings repoActionSettings) { return(repoActionSettings.GetType() == typeof(GraphExportSettings)); }
public bool IsFactoryFor(IRepoActionSettings repoActionSettings) { return(repoActionSettings.GetType() == typeof(ChangeFrameworkSettings)); }
public bool IsFactoryFor(IRepoActionSettings repoActionSettings) { return(repoActionSettings.GetType() == typeof(ShowHelpSettings)); }
public static void Parse(this IRepoActionSettings settings, string[] args) { settings.Set.Parse(args); }
public bool IsFactoryFor(IRepoActionSettings repoActionSettings) { return(repoActionSettings.GetType() == typeof(RemoveProjectSettings)); }
public bool IsFactoryFor(IRepoActionSettings repoActionSettings) { return(repoActionSettings.GetType() == typeof(SwitchToNugetSettings)); }
public bool IsFactoryFor(IRepoActionSettings repoActionSettings) { return(repoActionSettings.GetType() == typeof(PurgeFolderSettings)); }