예제 #1
0
 public IRepoActionFactory GetFactory(IRepoActionSettings repoActionSettings)
 {
     return(_factories.FirstOrDefault(f => f.IsFactoryFor(repoActionSettings)));
 }
예제 #2
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(GraphExportSettings));
 }
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(ChangeFrameworkSettings));
 }
예제 #4
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(ShowHelpSettings));
 }
예제 #5
0
 public static void Parse(this IRepoActionSettings settings, string[] args)
 {
     settings.Set.Parse(args);
 }
예제 #6
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(RemoveProjectSettings));
 }
예제 #7
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(SwitchToNugetSettings));
 }
예제 #8
0
 public bool IsFactoryFor(IRepoActionSettings repoActionSettings)
 {
     return(repoActionSettings.GetType() == typeof(PurgeFolderSettings));
 }