using System;
using System.Reactive.Disposables;
using ReactiveUI;
using Splat;
namespace Avalonia.ReactiveUI
{
///
/// This content control will automatically load the View associated with
/// the ViewModel property and display it. This control is very useful
/// inside a DataTemplate to display the View associated with a ViewModel.
///
public class ViewModelViewHost : TransitioningContentControl, IViewFor, IEnableLogger
{
///
/// for the property.
///
public static readonly AvaloniaProperty