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 SourceAssemblyReference(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 SourceName
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 SourceEquals(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 |
|
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 |
|
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>