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 }); }
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 }; }