public UnicodeBindableString GetUnicodePreference(string unicode, string nonUnicode)
        {
            var bindable = new UnicodeBindableString(unicode, nonUnicode)
            {
                PreferUnicode = preferUnicode.Value
            };

            unicodeBindings.Add(bindable);

            return(bindable);
        }
Пример #2
0
 protected void AddWeakReference(UnicodeBindableString unicodeBindable) => unicodeBindings.Add(new WeakReference <UnicodeBindableString>(unicodeBindable));