Exemplo n.º 1
0
		private void InitializeLanguageSupport()
		{
			IActionPropertySet aProperties = new PDFCleanActionPropertySet();
			string[] propertynames = new string[aProperties.Count];
			aProperties.Keys.CopyTo(propertynames, 0);
			m_languageSupport = new DotNETLanguageSupport(GetType(), "Name", propertynames, "Workshare.Policy.Actions.Properties.LanguageResources", "en-GB", new string[] { "de-DE", "ja-JP" });
		}
		private void InitializeLanguageSupport()
		{
			IActionPropertySet lProperties = new LightSpeedCleanActionPropertySet();
			string[] propertynames = new string[lProperties.Count];
			int i = 0;
			foreach (KeyValuePair<string, IActionProperty> kvp in lProperties)
			{
				propertynames[i++] = kvp.Key;
			}
			m_languageSupport = new DotNETLanguageSupport(GetType(), "Name", propertynames, "Workshare.Policy.Actions.Properties.LanguageResources", "en-GB", new string[] { "de-DE", "ja-JP" }); ;
		}