Table of Contents

Interface IPresenterWindowDialogService

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

用于底层弹窗,需要外部注册

public interface IPresenterWindowDialogService
Extension Methods

Methods

ShowClearly(object, string, Action<Window>, int, bool)

bool ShowClearly(object content, string title = null, Action<Window> builder = null, int closeTime = -1, bool showEffect = true)

Parameters

content object
title string
builder Action<Window>
closeTime int
showEffect bool

Returns

bool

ShowDialog(object, string, Action<Window>, int, bool, params Tuple<string, Action>[])

bool ShowDialog(object content, string title = null, Action<Window> builder = null, int closeTime = -1, bool showEffect = true, params Tuple<string, Action>[] acts)

Parameters

content object
title string
builder Action<Window>
closeTime int
showEffect bool
acts Tuple<string, Action>[]

Returns

bool

ShowDialogWith(object, string, Action<Window>, bool, params Tuple<string, Action<IDialogWindow>>[])

int ShowDialogWith(object content, string title = null, Action<Window> builder = null, bool showEffect = false, params Tuple<string, Action<IDialogWindow>>[] acts)

Parameters

content object
title string
builder Action<Window>
showEffect bool
acts Tuple<string, Action<IDialogWindow>>[]

Returns

int

ShowSumit(object, string, Action<Window>, bool, int)

bool ShowSumit(object content, string title = null, Action<Window> builder = null, bool showEffect = false, int closeTime = -1)

Parameters

content object
title string
builder Action<Window>
showEffect bool
closeTime int

Returns

bool