WinRTXamlToolkit.Debugging.ViewModels.BasePropertyViewModel.BasePropertyViewModel C# (CSharp) Method

BasePropertyViewModel() public method

public BasePropertyViewModel ( DependencyObjectViewModel elementViewModel ) : System
elementViewModel DependencyObjectViewModel
return System
        public BasePropertyViewModel(DependencyObjectViewModel elementViewModel)
        {
            this.ElementViewModel = elementViewModel;
            this.ResetValueCommand = new RelayCommand(
                this.ResetValue,
                () => this.CanResetValue);
            this.AnalyzeCommand = new RelayCommand(
                this.Analyze,
                () => this.CanAnalyze);
            this.FindSimilarCommand = new RelayCommand(
                this.FindSimilar,
                () => this.CanFindSimilar);
            this.PropertyChanged += this.OnPropertyChanged;
        }