点击或拖拽改变大小

DisplayLogin 委托

Called when a login dialog needs to be displayed. You can interact with this dialog by calling PostLogin() to post an answer or Dismiss() to cancel this dialog.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public delegate Task DisplayLogin(
	Dialog dialog,
	string title,
	string text,
	string defaultUsername,
	bool askStore,
	CancellationToken token
)

参数

dialog
类型:LibVLCSharp.SharedDialog
id used to interact with the dialog
title
类型:SystemString
title of the dialog
text
类型:SystemString
text of the dialog
defaultUsername
类型:SystemString
user name that should be set on the user form
askStore
类型:SystemBoolean
if true, ask the user if he wants to save the credentials
token
类型:System.ThreadingCancellationToken
Use token to cancel operation

返回值

类型:Task
参见