Open() публичный Метод

public Open ( string bstrLocale ) : void
bstrLocale string
Результат void
Пример #1
0
        protected ManagedLgIcuCollator ManagedLgIcuCollatorInitializerHelper()
        {
            var icuCollator = new ManagedLgIcuCollator();

            icuCollator.Open("en");
            return(icuCollator);
        }
		public void GeneralTestWithTwoDifferentWs()
		{
			using (var icuCollator1 = new ManagedLgIcuCollator())
			{
				icuCollator1.Open("en");
				var options = new LgCollatingOptions();
				object result1 = icuCollator1.get_SortKeyVariant("test", options);
				using (var icuCollator2 = new ManagedLgIcuCollator())
				{
					icuCollator2.Open("fr");
					object result2 = icuCollator2.get_SortKeyVariant("test", options);
				}
			}
		}
Пример #3
0
 public void GeneralTestWithTwoDifferentWs()
 {
     using (var icuCollator1 = new ManagedLgIcuCollator())
     {
         icuCollator1.Open("en");
         var    options = new LgCollatingOptions();
         object result1 = icuCollator1.get_SortKeyVariant("test", options);
         using (var icuCollator2 = new ManagedLgIcuCollator())
         {
             icuCollator2.Open("fr");
             object result2 = icuCollator2.get_SortKeyVariant("test", options);
         }
     }
 }
		protected ManagedLgIcuCollator ManagedLgIcuCollatorInitializerHelper()
		{
			var icuCollator = new ManagedLgIcuCollator();
			icuCollator.Open("en");
			return icuCollator;
		}