Пример #1
0
        /// <summary>
        /// Handles the step onclick event.
        /// </summary>
        /// <returns>A task that represents the asynchronous operation.</returns>
        protected Task ClickHandler()
        {
            Clicked?.Invoke();
            ParentSteps?.SelectStep(Name);

            return(Task.CompletedTask);
        }
Пример #2
0
        /// <inheritdoc/>
        protected override void OnInitialized()
        {
            ParentSteps?.NotifyStepInitialized(Name);

            ParentStepsContent?.NotifyStepPanelInitialized(Name);

            base.OnInitialized();
        }
Пример #3
0
        /// <inheritdoc/>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                ParentSteps?.NotifyStepRemoved(Name);
            }

            base.Dispose(disposing);
        }
Пример #4
0
        /// <summary>
        /// Handles the step onclick event.
        /// </summary>
        /// <returns>A task that represents the asynchronous operation.</returns>
        protected async Task ClickHandler()
        {
            await Clicked.InvokeAsync();

            if (ParentSteps != null)
            {
                await ParentSteps.SelectStep(Name);
            }
        }
Пример #5
0
        protected override void OnInitialized()
        {
            if (ParentSteps != null)
            {
                ParentSteps.NotifyStepInitialized(Name);
            }

            base.OnInitialized();
        }
Пример #6
0
        /// <inheritdoc/>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (ParentStepsState != null)
                {
                    ParentSteps.NotifyStepRemoved(Name);
                }
            }

            base.Dispose(disposing);
        }
Пример #7
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (ParentSteps != null)
                {
                    ParentSteps.NotifyStepRemoved(Name);
                }

                if (ParentStepsContent != null)
                {
                    ParentStepsContent.NotifyStepPanelRemoved(Name);
                }
            }

            base.Dispose(disposing);
        }