Catel.MVVM.ViewModelBase.GetChildViewModels C# (CSharp) Method

GetChildViewModels() protected method

Gets the child view models of this view model.
protected GetChildViewModels ( ) : IEnumerable
return IEnumerable
        protected IEnumerable<IViewModel> GetChildViewModels()
        {
            lock (ChildViewModels)
            {
                return ChildViewModels.ToArray();
            }
        }