public TimerOptionsInfo ToTimerOptionsInfo()
{
return new TimerOptionsInfo
{
Title = this.title,
AlwaysOnTop = this.alwaysOnTop,
PromptOnExit = this.promptOnExit,
DoNotKeepComputerAwake = this.doNotKeepComputerAwake,
ShowTimeElapsed = this.showTimeElapsed,
LoopTimer = this.loopTimer,
PopUpWhenExpired = this.popUpWhenExpired,
CloseWhenExpired = this.closeWhenExpired,
ShutDownWhenExpired = this.shutDownWhenExpired,
ThemeIdentifier = this.theme?.Identifier,
SoundIdentifier = this.sound?.Identifier,
LoopSound = this.loopSound,
WindowTitleMode = this.windowTitleMode,
WindowSize = WindowSizeInfo.FromWindowSize(this.windowSize)
};
}