示例#1
0
        private static void AuthorChanged(BindableObject bindable, object oldValue, object newValue)
        {
            RadChat    chat    = (RadChat)bindable;
            AuthorsMap authors = GetAuthorsMap(chat);

            chat.Author = authors.GetOrCreateAuthor((ChatroomParticipant)newValue);
        }
示例#2
0
 public static void SetAuthorsMap(BindableObject bindable, AuthorsMap value)
 {
     bindable.SetValue(AuthorsMapProperty, value);
 }