Browse Source

Improve the XML documentation

pull/4917/head
artyom 6 years ago
parent
commit
40371ac89c
  1. 7
      src/Avalonia.ReactiveUI/ReactiveUserControl.cs
  2. 7
      src/Avalonia.ReactiveUI/ReactiveWindow.cs

7
src/Avalonia.ReactiveUI/ReactiveUserControl.cs

@ -9,9 +9,10 @@ using ReactiveUI;
namespace Avalonia.ReactiveUI
{
/// <summary>
/// A ReactiveUI UserControl that implements <see cref="IViewFor{TViewModel}"/> and will activate your ViewModel
/// automatically if it supports activation. When the DataContext property changes, this class will update the
/// ViewModel property with the new DataContext value, and vice versa.
/// A ReactiveUI <see cref="UserControl"/> that implements the <see cref="IViewFor{TViewModel}"/> interface and
/// will activate your ViewModel automatically if the view model implements <see cref="IActivatableViewModel"/>.
/// When the DataContext property changes, this class will update the ViewModel property with the new DataContext
/// value, and vice versa.
/// </summary>
/// <typeparam name="TViewModel">ViewModel type.</typeparam>
public class ReactiveUserControl<TViewModel> : UserControl, IViewFor<TViewModel> where TViewModel : class

7
src/Avalonia.ReactiveUI/ReactiveWindow.cs

@ -9,9 +9,10 @@ using ReactiveUI;
namespace Avalonia.ReactiveUI
{
/// <summary>
/// A ReactiveUI Window that implements <see cref="IViewFor{TViewModel}"/> and will activate your ViewModel
/// automatically if it supports activation. When the DataContext property changes, this class will update the
/// ViewModel property with the new DataContext value, and vice versa.
/// A ReactiveUI <see cref="Window"/> that implements the <see cref="IViewFor{TViewModel}"/> interface and will
/// activate your ViewModel automatically if the view model implements <see cref="IActivatableViewModel"/>. When
/// the DataContext property changes, this class will update the ViewModel property with the new DataContext value,
/// and vice versa.
/// </summary>
/// <typeparam name="TViewModel">ViewModel type.</typeparam>
public class ReactiveWindow<TViewModel> : Window, IViewFor<TViewModel> where TViewModel : class

Loading…
Cancel
Save