public DialogOptions(DialogOptions defaults) { if (defaults == null) { return; } width = defaults.width; height = defaults.height; padding = defaults.padding; titleFontSize = defaults.titleFontSize; headingFontSize = defaults.headingFontSize; textFontSize = defaults.textFontSize; formBuilder = defaults.formBuilder; environmentFlags = new HashSet <string>(defaults.environmentFlags); }
public static IModelHost Dialog(object dialogIdentifier, object context, DialogOptions options) { return(new DialogModelHost(dialogIdentifier, context, options)); }
public static IModelHost Dialog(object dialogIdentifier, DialogOptions options) { return(new DialogModelHost(dialogIdentifier, null, options)); }
public static IModelHost Dialog(DialogOptions options) { return(new DialogModelHost(null, null, options)); }
public DialogModelHost(object dialogIdentifier, object context, DialogOptions options) { this.context = context; this.options = options; this.dialogIdentifier = dialogIdentifier; }