Show / Hide Table of Contents

Class AssemblySlim

Lightweight representation of an assembly, i.e. a container for types.

Inheritance
System.Object
AssemblySlim
Implements
System.IEquatable<AssemblySlim>
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public sealed class AssemblySlim : Object, IEquatable<AssemblySlim>

Constructors

AssemblySlim(String)

Creates a new assembly representation object.

Declaration
public AssemblySlim(string name)
Parameters
Type Name Description
System.String name

Name of the assembly.

Properties

Name

Gets the name of the assembly.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Methods

Equals(Object)

Checks whether the specified object is equal to the current instance.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The object to compare.

Returns
Type Description
System.Boolean

true if the specified object is equal to the current instance; otherwise, false.

Equals(AssemblySlim)

Checks whether the specified assembly is equal to the current instance.

Declaration
public bool Equals(AssemblySlim other)
Parameters
Type Name Description
AssemblySlim other

The assembly to compare.

Returns
Type Description
System.Boolean

true if the specified assembly is equal to the current instance; otherwise, false.

GetHashCode()

Gets a hash code for the current instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current instance.

ToString()

Returns a friendly string representation of the assembly.

Declaration
public override string ToString()
Returns
Type Description
System.String

Friendly string representation of the assembly.

Operators

Equality(AssemblySlim, AssemblySlim)

Checks if two assemblies are equal.

Declaration
public static bool operator ==(AssemblySlim first, AssemblySlim second)
Parameters
Type Name Description
AssemblySlim first

The first assembly to compare.

AssemblySlim second

The second assembly to compare.

Returns
Type Description
System.Boolean

true if both assemblies are equal; otherwise, false.

Inequality(AssemblySlim, AssemblySlim)

Checks if two assemblies are not equal.

Declaration
public static bool operator !=(AssemblySlim first, AssemblySlim second)
Parameters
Type Name Description
AssemblySlim first

The first assembly to compare.

AssemblySlim second

The second assembly to compare.

Returns
Type Description
System.Boolean

true if both assemblies are not equal; otherwise, false.

Implements

System.IEquatable<>
In This Article
Back to top Generated by DocFX