Class BackupSchemaAssembly
One schema assembly an open of a restored bundle ran with (#1485).
public sealed record BackupSchemaAssembly : IEquatable<BackupSchemaAssembly>
- Inheritance
-
BackupSchemaAssembly
- Implements
- Inherited Members
Constructors
BackupSchemaAssembly(string, string, string, Guid, string)
One schema assembly an open of a restored bundle ran with (#1485).
public BackupSchemaAssembly(string Name, string Version, string PublicKeyToken, Guid Mvid, string Path)
Parameters
NamestringIts simple name.
VersionstringIts version, as the manifest records it.
PublicKeyTokenstringIts public-key token in hex, or
nullwhen unsigned.MvidGuidIts module version id: which compilation it is, beyond its version.
PathstringThe file it was loaded from, or
null.
Properties
Mvid
Its module version id: which compilation it is, beyond its version.
public Guid Mvid { get; init; }
Property Value
Name
Its simple name.
public string Name { get; init; }
Property Value
Path
The file it was loaded from, or null.
public string Path { get; init; }
Property Value
PublicKeyToken
Its public-key token in hex, or null when unsigned.
public string PublicKeyToken { get; init; }
Property Value
Version
Its version, as the manifest records it.
public string Version { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string, out Guid, out string)
public void Deconstruct(out string Name, out string Version, out string PublicKeyToken, out Guid Mvid, out string Path)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupSchemaAssembly?)
public bool Equals(BackupSchemaAssembly? other)
Parameters
otherBackupSchemaAssembly
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupSchemaAssembly?, BackupSchemaAssembly?)
public static bool operator ==(BackupSchemaAssembly? left, BackupSchemaAssembly? right)
Parameters
leftBackupSchemaAssemblyrightBackupSchemaAssembly
Returns
operator !=(BackupSchemaAssembly?, BackupSchemaAssembly?)
public static bool operator !=(BackupSchemaAssembly? left, BackupSchemaAssembly? right)
Parameters
leftBackupSchemaAssemblyrightBackupSchemaAssembly