Beispiel #1
0
 public NewHandler(IResolveFileTypes fileTypeResolver, Func<string, ProviderSettings> provider)
 {
     _getTypesProviderByLocation = provider;
     _pickTemplate = pickTemplate;
     _fileTypeResolver = fileTypeResolver;
     _project = new ProjectHandler();
 }
Beispiel #2
0
 public NewHandler(IResolveFileTypes fileTypeResolver, Func <string, ProviderSettings> provider, string keyPath)
 {
     _keyPath = keyPath;
     _getTypesProviderByLocation = provider;
     _pickTemplate     = pickTemplate;
     _fileTypeResolver = fileTypeResolver;
     _project          = new ProjectHandler();
 }
Beispiel #3
0
 public NewTemplate(string file, IResolveFileTypes fileTypeResolver, string keyPath)
 {
     _fileTypeResolver = fileTypeResolver;
     _file             = file;
     Line     = 0;
     Column   = 0;
     _keyPath = keyPath;
 }
Beispiel #4
0
 public NewTemplate(string file, IResolveFileTypes fileTypeResolver, string keyPath)
 {
     _fileTypeResolver = fileTypeResolver;
     _file = file;
     Line = 0;
     Column = 0;
 }