The view model for the Flex step in the publish app wizard.
Inheritance: GoogleCloudExtension.PublishDialog.PublishDialogStepBase
Ejemplo n.º 1
0
        /// <summary>
        /// Creates a new step instance. This method will also create the necessary view and conect both
        /// objects together.
        /// </summary>
        internal static FlexStepViewModel CreateStep()
        {
            var content   = new FlexStepContent();
            var viewModel = new FlexStepViewModel(content);

            content.DataContext = viewModel;

            return(viewModel);
        }
        /// <summary>
        /// Creates a new step instance. This method will also create the necessary view and conect both
        /// objects together.
        /// </summary>
        internal static FlexStepViewModel CreateStep(IGaeDataSource dataSource = null, IApiManager apiManager = null)
        {
            var content   = new FlexStepContent();
            var viewModel = new FlexStepViewModel(content, dataSource: dataSource, apiManager: apiManager);

            content.DataContext = viewModel;

            return(viewModel);
        }
        /// <summary>
        /// Creates a new step instance. This method will also create the necessary view and conect both
        /// objects together.
        /// </summary>
        /// <returns></returns>
        internal static FlexStepViewModel CreateStep()
        {
            var content = new FlexStepContent();
            var viewModel = new FlexStepViewModel(content);
            content.DataContext = viewModel;

            return viewModel;
        }