예제 #1
0
 public virtual bool Prompt(string dialogTitle, string text, string passwordRealm, uint savePassword,
                            string defaultText, ref string result)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt>()
            .Prompt(dialogTitle, text, passwordRealm, savePassword, defaultText, ref result));
 }
예제 #2
0
 public virtual bool PromptUsernameAndPassword(string dialogTitle, string text, string passwordRealm,
                                               uint savePassword, ref string user, ref string pwd)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt>()
            .PromptUsernameAndPassword(dialogTitle, text, passwordRealm, savePassword, ref user, ref pwd));
 }
예제 #3
0
 public virtual bool PromptAuth(nsIChannel aChannel, uint level, nsIAuthInformation authInfo)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt2>().PromptAuth(aChannel, level, authInfo));
 }
예제 #4
0
 public virtual nsICancelable AsyncPromptAuth(nsIChannel aChannel, nsIAuthPromptCallback aCallback,
                                              nsISupports aContext, uint level, nsIAuthInformation authInfo)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt2>()
            .AsyncPromptAuth(aChannel, aCallback, aContext, level, authInfo));
 }
예제 #5
0
 public virtual bool PromptUsernameAndPassword(string dialogTitle, string text, ref string username,
                                               ref string password, string checkMsg, ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>()
            .PromptUsernameAndPassword(dialogTitle, text, ref username, ref password, checkMsg, ref checkValue));
 }
예제 #6
0
 public virtual bool Select(string dialogTitle, string text, uint count, IntPtr[] selectList,
                            ref int outSelection)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>()
            .Select(dialogTitle, text, count, selectList, ref outSelection));
 }
예제 #7
0
 public virtual bool Prompt(string dialogTitle, string text, ref string value, string checkMsg,
                            ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>()
            .Prompt(dialogTitle, text, ref value, checkMsg, ref checkValue));
 }
예제 #8
0
 public virtual bool ConfirmCheck(string dialogTitle, string text, string checkMsg, ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().ConfirmCheck(dialogTitle, text, checkMsg, ref checkValue));
 }
예제 #9
0
 public virtual bool Confirm(string dialogTitle, string text)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().Confirm(dialogTitle, text));
 }
예제 #10
0
 public virtual void AlertCheck(string dialogTitle, string text, string checkMsg, ref bool checkValue)
 {
     DefaultPromptFactory.GetPrompt <nsIPrompt>().AlertCheck(dialogTitle, text, checkMsg, ref checkValue);
 }
예제 #11
0
 public virtual void Alert(string dialogTitle, string text)
 {
     DefaultPromptFactory.GetPrompt <nsIPrompt>().Alert(dialogTitle, text);
 }