public PropertyService(DirectoryName configDirectory, DirectoryName dataDirectory, string propertiesName) : base(LoadPropertiesFromStream(configDirectory.CombineFile(propertiesName + ".xml"))) { this.dataDirectory = dataDirectory; this.configDirectory = configDirectory; propertiesFileName = configDirectory.CombineFile(propertiesName + ".xml"); }
public PropertyService() : base(LoadPropertiesFromStream(GetConfigDirectory().CombineFile(PropertiesName + ".xml"))) { this.configDirectory = GetConfigDirectory(); this.dataDirectory = new DirectoryName(Environment.CurrentDirectory); propertiesFileName = configDirectory.CombineFile(PropertiesName + ".xml"); }
static FileName GetActiveXInteropFileName(DirectoryName outputFolder, string include) { if (include.StartsWith("ax", StringComparison.OrdinalIgnoreCase)) { return outputFolder.CombineFile(String.Concat("AxInterop.", include.Substring(2), ".dll")); } return null; }