예제 #1
0
		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");
		}
예제 #2
0
		public PropertyService()
			: base(LoadPropertiesFromStream(GetConfigDirectory().CombineFile(PropertiesName + ".xml")))
		{
			this.configDirectory = GetConfigDirectory();
			this.dataDirectory = new DirectoryName(Environment.CurrentDirectory);
			propertiesFileName = configDirectory.CombineFile(PropertiesName + ".xml");
		}
예제 #3
0
		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;
		}