コード例 #1
0
        public void Can_serialize_sweedish_chars()
        {
            var dto = new TextTags {
                Text = "Olle är en ÖL ål", Tags = new[] { "öl", "ål", "mål" }
            };

            Serialize(dto);
        }
コード例 #2
0
        private void load(ILyricEditorState state)
        {
            state.BindableCaretPosition.BindValueChanged(e =>
            {
                Lyric = e.NewValue?.Lyric;

                if (e.OldValue?.Lyric != null)
                {
                    TextTags.UnbindFrom(e.OldValue.Lyric.RomajiTagsBindable);
                }

                if (e.NewValue?.Lyric != null)
                {
                    TextTags.BindTo(e.NewValue.Lyric.RomajiTagsBindable);
                }
            });
        }
コード例 #3
0
		public void Can_serialize_sweedish_chars()
		{
			var dto = new TextTags { Text = "Olle är en ÖL ål", Tags = new[] { "öl", "ål", "mål" } };
			Serialize(dto);
		}