12 private URLString m_url;
16 public string Value => m_url.ToString();
18 internal Url(
string name,
bool parsed)
24 m_url =
new URLString(name, parsed);
30 public Url(
string name)
36 m_url =
new URLString(name);
44 internal URLString GetURLString()
61 public override bool Equals(
object o)
63 return (o as
Url)?.m_url.Equals(m_url) ??
false;
70 return m_url.GetHashCode();
95 return securityElement;
105 internal object Normalize()
107 return m_url.NormalizeUrl();
object Copy()
Creates a new copy of the evidence object.
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
override EvidenceBase Clone()
Creates a new object that is a copy of the current instance.
IPermission CreateIdentityPermission(Evidence evidence)
Creates an identity permission corresponding to the current instance of the T:System....
Provides the URL from which a code assembly originates as evidence for policy evaluation....
Provides a base class from which all objects to be used as evidence must derive.
Defines the method that creates a new identity permission.
void AddChild(SecurityElement child)
Adds a child element to the XML element.
override string ToString()
Returns a string representation of the current T:System.Security.Policy.Url.
Represents the XML object model for encoding security objects. This class cannot be inherited.
override int GetHashCode()
Gets the hash code of the current URL.
Defines methods implemented by permission types.
override bool Equals(object o)
Compares the current T:System.Security.Policy.Url evidence object to the specified object for equival...
string Value
Gets the URL from which the code assembly originates.
Defines the identity permission for the URL from which the code originates. This class cannot be inhe...
Defines the set of information that constitutes input to security policy decisions....
void AddAttribute(string name, string value)
Adds a name/value attribute to an XML element.
Specifies that the class can be serialized.
Url(string name)
Initializes a new instance of the T:System.Security.Policy.Url class with the URL from which a code a...
override string ToString()
Produces a string representation of an XML element and its constituent attributes,...