Example #1
0
        /// <summary>
        /// Function to retrieve a plug in list item view model based on the plug in passed in.
        /// </summary>
        /// <param name="plugin">The plug in to retrieve data from.</param>
        /// <returns>The view model.</returns>
        private ISettingsPlugInListItem GetPlugInListItem(IDisabledPlugIn plugin)
        {
            var result = new SettingsPlugInListItem();

            result.Initialize(new SettingsPlugInListItemParameters(plugin, _viewModelInjection));
            return(result);
        }
Example #2
0
        /// <summary>
        /// Function to retrieve a plug in list item view model based on the plug in passed in.
        /// </summary>
        /// <param name="plugin">The plug in to retrieve data from.</param>
        /// <returns>The view model.</returns>
        private ISettingsPlugInListItem GetPlugInListItem(IGorgonFileSystemProvider plugin)
        {
            var result = new SettingsPlugInListItem();

            result.Initialize(new SettingsPlugInListItemParameters(plugin, _viewModelInjection));
            return(result);
        }