AssemblyIdentity Class |
[This is preliminary documentation and is subject to change.]
Namespace: NerdyDuck.CodedExceptions.Configuration
[SerializableAttribute] [ComVisibleAttribute(false)] public sealed class AssemblyIdentity : IEquatable<AssemblyIdentity>, ISerializable
The AssemblyIdentity type exposes the following members.
| Name | Description | |
|---|---|---|
| AssemblyIdentity |
Initializes a new instance of the AssemblyIdentity class.
| |
| AssemblyIdentity(String) |
Initializes a new instance of the AssemblyIdentity class with the specified assembly name.
| |
| AssemblyIdentity(AssemblyIdentity) |
Initializes a new instance of the AssemblyIdentity class with the specified AssemblyIdentity.
| |
| AssemblyIdentity(Assembly, AssemblyIdentityAssemblyNameElements) |
Initializes a new instance of the AssemblyIdentity class with the specified Assembly.
|
| Name | Description | |
|---|---|---|
| Culture |
Gets or sets the culture of the assembly. May be .
| |
| Name |
Gets or sets the name of the assembly. May be .
| |
| Version |
Gets or sets the version of the assembly. May be .
|
| Name | Description | |
|---|---|---|
| Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).) | |
| Equals(Assembly) |
Returns a value indicating whether this instance is equal to the value of the specified Assembly instance.
| |
| Equals(AssemblyIdentity) |
Returns a value indicating whether this instance is equal to the value of the specified AssemblyIdentity instance.
| |
| GetHashCode |
Serves as the default hash function.
(Overrides ObjectGetHashCode.) | |
| GetPublicKeyToken |
Gets the public key token of the assembly, which is the last 8 bytes of the SHA-1 hash of the public key under which the assembly is signed.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsMatch |
Returns a value indicating whether the properties of this instance match the specified Assembly.
| |
| Match |
Compares the specified Assembly to the current AssemblyIdentity, and returns an integer value
that specifies if the assembly matches the identity, and how strong that match is.
| |
| SetPublicKeyToken |
Sets the public key token of the assembly, which is the last 8 bytes of the SHA-1 hash of the public key under which the assembly is signed.
| |
| ToString |
Returns the full name of the assembly identity.
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| Equality |
Determines whether two instances of AssemblyIdentity are equal.
| |
| Inequality |
Determines whether two specified instances of AssemblyIdentity are not equal.
|
| Name | Description | |
|---|---|---|
| MaximumMatchValue |
The highest possible value returned by Match(Assembly), meaning that name, version, culture and public key token are a match.
|
| Name | Description | |
|---|---|---|
| ISerializableGetObjectData |
Sets the SerializationInfo with information about the exception.
|