Additional parameters used in acquiring user's authorization
Inheritance: IPlatformParameters
コード例 #1
0
 public WebUI(IPlatformParameters parameters)
 {
     this.parameters = parameters as PlatformParameters;
     if (this.parameters == null)
     {
         throw new ArgumentException("parameters should be of type PlatformParameters", "parameters");
     }
 }
コード例 #2
0
 public WebUI(IPlatformParameters parameters)
 {
     this.parameters = parameters as PlatformParameters;
     if (this.parameters == null)
     {
         throw new ArgumentException("parameters should be of type PlatformParameters", "parameters");
     }
 }
        public IWebUI CreateAuthenticationDialog(IPlatformParameters inputParameters)
        {
            this.parameters = inputParameters as PlatformParameters;
            if (this.parameters == null)
            {
                throw new ArgumentException("parameters should be of type PlatformParameters", "parameters");
            }

            return(new InteractiveWebUI {
                OwnerWindow = this.parameters.OwnerWindow
            });
        }
コード例 #4
0
        public WebUI(IPlatformParameters parameters)
        {
            this.parameters = parameters as PlatformParameters;
            if (this.parameters == null)
            {
                throw new ArgumentException("parameters should be of type PlatformParameters", "parameters");
            }

            if (this.parameters.CallerActivity == null)
            {
                throw new ArgumentException("CallerActivity should be set in PlatformParameters", "CallerActivity");
            }
        }
 public IWebUI CreateAuthenticationDialog(IPlatformParameters inputParameters)
 {
     this.parameters = inputParameters as PlatformParameters;
     if (this.parameters == null)
     {
         throw new ArgumentException("parameters should be of type PlatformParameters", "parameters");
     }
     
     return new InteractiveWebUI { OwnerWindow = this.parameters.OwnerWindow };
 }  
コード例 #6
-1
        public WebUI(IPlatformParameters parameters)
        {
            this.parameters = parameters as PlatformParameters;
            if (this.parameters == null)
            {
                throw new ArgumentException("parameters should be of type PlatformParameters", "parameters");
            }

            if (this.parameters.CallerActivity == null)
            {
                throw new ArgumentException("CallerActivity should be set in PlatformParameters", "CallerActivity");
            }
        }