Show / Hide Table of Contents

Class AssemblyReference

Represents a request for C# expressions to reference an assembly by name.

Inheritance
System.Object
AssemblyReference
Implements
System.IEquatable<AssemblyReference>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions.CSharpExpressions
Assembly: ZptSharp.CSharpExpressions.dll
Syntax
public sealed class AssemblyReference : IEquatable<AssemblyReference>

Constructors

| Improve this Doc View Source

AssemblyReference(String)

Initializes a new instance of AssemblyReference.

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

The assembly name.

Properties

| Improve this Doc View Source

Name

Gets the assembly name to reference.

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

The assembly name

Methods

| Improve this Doc View Source

Equals(Object)

Gets a value which indicates if the current instance is equal to the specified System.Object.

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

An object.

Returns
Type Description
System.Boolean

true if the instances are equal; false otherwise.

Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

Equals(AssemblyReference)

Gets a value which indicates if the current instance is equal to the specified AssemblyReference.

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

A assembly reference.

Returns
Type Description
System.Boolean

true if the instances are equal; false otherwise.

| Improve this Doc View Source

GetHashCode()

Gets a hash code for the current instance.

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

The hash code.

Overrides
System.Object.GetHashCode()

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX