public ProjectLocalizerOptions(Localizer localizer, LocalizerOptions options) :
     base(options)
 {
     _localizer         = localizer;
     Version            = _localizer.Version;
     FileVersion        = _localizer.FileVersion;
     InformationVersion = _localizer.InformationVersion;
     Locale             = _localizer.Locale;
     CurrentLocaleDir   = _localizer.CurrentLocaleDir;
 }
Beispiel #2
0
 public LocalizerOptions(LocalizerOptions otherOptions)
 {
     _LocalizeFieldWorksTask = otherOptions._LocalizeFieldWorksTask;
     SrcFolder        = otherOptions.SrcFolder;
     RootDir          = otherOptions.RootDir;
     OutputFolder     = otherOptions.OutputFolder;
     AssemblyInfoPath = otherOptions.AssemblyInfoPath;
     Config           = otherOptions.Config;
     BuildSource      = otherOptions.BuildSource;
     BuildBinaries    = otherOptions.BuildBinaries;
     CopyStringsXml   = otherOptions.CopyStringsXml;
 }
 public void Initialize(string currentDir, LocalizerOptions options)
 {
     Options          = options;
     CurrentLocaleDir = currentDir;
     Locale           = Path.GetFileName(currentDir);
 }