diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-26 18:07:32 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-26 18:07:32 -0800 |
commit | 002ce0e39af3b684ce6060dce60805e3333420fa (patch) | |
tree | 2c9aace23e08d17ed03a3732a5fa4a549463f811 /src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdMobileTextBox.cs | |
parent | 4bf6dfa05ab5ba2d7ebff157dc4a1a85dae42125 (diff) | |
download | DotNetOpenAuth-002ce0e39af3b684ce6060dce60805e3333420fa.zip DotNetOpenAuth-002ce0e39af3b684ce6060dce60805e3333420fa.tar.gz DotNetOpenAuth-002ce0e39af3b684ce6060dce60805e3333420fa.tar.bz2 |
Replaces DNOA's internal Requires class with Validation NuGet package.
Diffstat (limited to 'src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdMobileTextBox.cs')
-rw-r--r-- | src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdMobileTextBox.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdMobileTextBox.cs b/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdMobileTextBox.cs index b3d208a..c7c83a9 100644 --- a/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdMobileTextBox.cs +++ b/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdMobileTextBox.cs @@ -583,8 +583,8 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { /// </remarks> [SuppressMessage("Microsoft.Usage", "CA2234:PassSystemUriObjectsInsteadOfStrings", Justification = "Uri(Uri, string) accepts second arguments that Uri(Uri, new Uri(string)) does not that we must support.")] public IAuthenticationRequest CreateRequest() { - Requires.ValidState(this.Request == null, OpenIdStrings.CreateRequestAlreadyCalled); - Requires.ValidState(!string.IsNullOrEmpty(this.Text), OpenIdStrings.OpenIdTextBoxEmpty); + RequiresEx.ValidState(this.Request == null, OpenIdStrings.CreateRequestAlreadyCalled); + RequiresEx.ValidState(!string.IsNullOrEmpty(this.Text), OpenIdStrings.OpenIdTextBoxEmpty); try { // Resolve the trust root, and swap out the scheme and port if necessary to match the |