Exemple #1
0
 public IRepoActionFactory GetFactory(IRepoActionSettings repoActionSettings)
 {
     return(_factories.FirstOrDefault(f => f.IsFactoryFor(repoActionSettings)));
 }
Exemple #2
0
 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);
 }
Exemple #6
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(RemoveProjectSettings));
 }
Exemple #7
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(SwitchToNugetSettings));
 }
Exemple #8
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(PurgeFolderSettings));
 }