C# Класс Te.StahpIt.Views.BaseView

Base class that all views in this application should extend from. This is so that each of those views has the basic mechanism for data or user driven events to raise requests to modify the current view to respond to or notify the user.
Наследование: System.Windows.Controls.UserControl, IViewController
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_logger Logger

Открытые методы

Метод Описание
BaseView ( ) : MahApps.Metro.Controls

Default ctor.

Защищенные методы

Метод Описание
RequestViewChange ( System.Windows.Controls.View view, object data = null ) : void

Requests a change of view.

ShowUserMessage ( string title, string message, string acceptButtonText = "Ok" ) : void

Displays a message to the user as an overlay, that the user can only accept.

Описание методов

BaseView() публичный Метод

Default ctor.
public BaseView ( ) : MahApps.Metro.Controls
Результат MahApps.Metro.Controls

RequestViewChange() защищенный Метод

Requests a change of view.
protected RequestViewChange ( System.Windows.Controls.View view, object data = null ) : void
view System.Windows.Controls.View /// The requested view. ///
data object /// Optional data for the requested view. ///
Результат void

ShowUserMessage() защищенный Метод

Displays a message to the user as an overlay, that the user can only accept.
protected ShowUserMessage ( string title, string message, string acceptButtonText = "Ok" ) : void
title string /// The large title for the message overlay. ///
message string /// The message content. ///
acceptButtonText string /// The text to display in the acceptance button. ///
Результат void

Описание свойств

m_logger защищенное свойство

Logger for views.
protected Logger m_logger
Результат Logger