public AlertArgumentsProxy ( string caption, string message, string positiveButton, string negativeButton ) : System | ||
caption | string | The caption |
message | string | The message |
positiveButton | string | The positive button text |
negativeButton | string | The negative button text |
Результат | System |
public AlertArgumentsProxy(string caption, string message, string positiveButton, string negativeButton)
{
var assembly = typeof (Application).GetAssemblyEx();
InternalType = assembly.GetType("Xamarin.Forms.AlertArguments");
_propertyInfo = InternalType.GetPropertyEx("Result");
var constructor = InternalType.GetConstructorsEx()[0];
Object = constructor.Invoke(new object[] {caption, message, positiveButton, negativeButton});
}