public void Initialize(IExampleInfo exampleInfo)
        {
            this.exampleObject      = null;
            this.configuratorObject = null;
            this.hints   = null;
            this.Example = exampleInfo;
            this.Control = exampleInfo.ExampleGroup.Control;
            this.ExampleCodeFilesCollectionViewSource = new CollectionViewSource()
            {
                Source = ExampleSourceCodeHelper.GetCodeFilesForExample(exampleInfo)
            };

            var warningSuppression = this.RefreshAsyncProperties();
        }
        public void Initialize(ISubExample exampleInfo)
        {
            this.exampleObject      = null;
            this.configuratorObject = null;
            this.hints   = null;
            this.Example = new ExampleInfo {
                ControlName = exampleInfo.PackageName, PackageName = exampleInfo.PackageName, Name = exampleInfo.Name, HeaderText = exampleInfo.Title
            };                   // exampleInfo;
            this.Control = null; // exampleInfo.ExampleGroup.Control;
            this.ExampleCodeFilesCollectionViewSource = new CollectionViewSource()
            {
                Source = ExampleSourceCodeHelper.GetCodeFilesForExample(exampleInfo)
            };

            this.NavigationContext = exampleInfo.NavigationParameter;

            var warningSuppression = this.RefreshAsyncProperties();
        }