DotNetOpenAuth.OpenId.Realm.Realm C# (CSharp) Method

Realm() public method

Initializes a new instance of the Realm class.
public Realm ( Uri realmUrl ) : System
realmUrl System.Uri The realm URL of the Relying Party.
return System
		public Realm(Uri realmUrl) {
			Requires.NotNull(realmUrl, "realmUrl");
			this.uri = realmUrl;
			if (!this.uri.Scheme.Equals("http", StringComparison.OrdinalIgnoreCase) &&
				!this.uri.Scheme.Equals("https", StringComparison.OrdinalIgnoreCase)) {
				throw new UriFormatException(
					string.Format(CultureInfo.CurrentCulture, OpenIdStrings.InvalidScheme, this.uri.Scheme));
			}
		}

Same methods

Realm::Realm ( ) : System
Realm::Realm ( UriBuilder realmUriBuilder ) : System
Realm::Realm ( string realmUrl ) : System