Click or drag to resize

AssemblyIdentity Class

[This is preliminary documentation and is subject to change.]

Specifies the identity of an assembly.
Inheritance Hierarchy
SystemObject
  NerdyDuck.CodedExceptions.ConfigurationAssemblyIdentity

Namespace:  NerdyDuck.CodedExceptions.Configuration
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class AssemblyIdentity : IEquatable<AssemblyIdentity>, 
	ISerializable
View Source

The AssemblyIdentity type exposes the following members.

Constructors
  NameDescription
Public methodAssemblyIdentity
Initializes a new instance of the AssemblyIdentity class.
Public methodAssemblyIdentity(String)
Initializes a new instance of the AssemblyIdentity class with the specified assembly name.
Public methodAssemblyIdentity(AssemblyIdentity)
Initializes a new instance of the AssemblyIdentity class with the specified AssemblyIdentity.
Public methodAssemblyIdentity(Assembly, AssemblyIdentityAssemblyNameElements)
Initializes a new instance of the AssemblyIdentity class with the specified Assembly.
Top
Properties
  NameDescription
Public propertyCulture
Gets or sets the culture of the assembly. May be .
Public propertyName
Gets or sets the name of the assembly. May be .
Public propertyVersion
Gets or sets the version of the assembly. May be .
Top
Methods
  NameDescription
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).)
Public methodEquals(Assembly)
Returns a value indicating whether this instance is equal to the value of the specified Assembly instance.
Public methodEquals(AssemblyIdentity)
Returns a value indicating whether this instance is equal to the value of the specified AssemblyIdentity instance.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetPublicKeyToken
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsMatch
Returns a value indicating whether the properties of this instance match the specified Assembly.
Public methodMatch
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.
Public methodSetPublicKeyToken
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.
Public methodToString
Returns the full name of the assembly identity.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two instances of AssemblyIdentity are equal.
Public operatorStatic memberInequality
Determines whether two specified instances of AssemblyIdentity are not equal.
Top
Fields
  NameDescription
Public fieldStatic memberMaximumMatchValue
The highest possible value returned by Match(Assembly), meaning that name, version, culture and public key token are a match.
Top
Explicit Interface Implementations
Remarks
This class can contain a fully qualified assembly name, or parts of it.
See Also