Exemple #1
0
        public static IDialogParameters AddOnInit <TParameter>(this IDialogParameters @this, params KeyValuePair <string, TParameter>[] parameters)
        {
            @this.VerifyReference();
            parameters.VerifyCollectionNotNullOrEmpty();

            foreach (var parameter in parameters)
            {
                var key   = parameter.Key;
                var value = parameter.Value;

                @this.Add(key, value);
            }

            return(@this);
        }
Exemple #2
0
 public static IDialogParameters AddApplicantFormDetail(this IDialogParameters value, ApplicantFormReportDetail input)
 {
     value.Add("FormDetail", input);
     return(value);
 }
Exemple #3
0
 public static IDialogParameters AddShareReport(this IDialogParameters value, AsbaShareReportDetailResponse input)
 {
     value.Add("ShareReport", input);
     return(value);
 }
Exemple #4
0
 public static IDialogParameters AddRememberPassword(this IDialogParameters value, bool rememberPassword)
 {
     value.Add("RememberPassword", rememberPassword);
     return(value);
 }
Exemple #5
0
 public static IDialogParameters AddPassword(this IDialogParameters value, string password)
 {
     value.Add("Password", password);
     return(value);
 }
Exemple #6
0
 public static IDialogParameters AddUsername(this IDialogParameters value, string username)
 {
     value.Add("Username", username);
     return(value);
 }
Exemple #7
0
 public static IDialogParameters AddTitle(this IDialogParameters value, string title)
 {
     value.Add("Title", title);
     return(value);
 }