Show / Hide Table of Contents

Struct ScopedIdentifier

Denotes the tuple of an attribute and its scope

Implements
IEquatable<ScopedIdentifier>
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: NMF.Models
Assembly: NMF.Models.dll
Syntax
public struct ScopedIdentifier : IEquatable<ScopedIdentifier>

Constructors

| Edit this page View Source

ScopedIdentifier(IAttribute, IdentifierScope)

Creates a new scoped identifier

Declaration
public ScopedIdentifier(IAttribute identifier, IdentifierScope scope)
Parameters
Type Name Description
IAttribute identifier
IdentifierScope scope

Properties

| Edit this page View Source

Identifier

Gets the identifier attribute

Declaration
public readonly IAttribute Identifier { get; }
Property Value
Type Description
IAttribute
| Edit this page View Source

Scope

Gets the scope in which the identifier is valid

Declaration
public readonly IdentifierScope Scope { get; }
Property Value
Type Description
IdentifierScope

Methods

| Edit this page View Source

Equals(ScopedIdentifier)

Declaration
public bool Equals(ScopedIdentifier other)
Parameters
Type Name Description
ScopedIdentifier other
Returns
Type Description
bool
| Edit this page View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)
| Edit this page View Source

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()

Operators

| Edit this page View Source

operator ==(ScopedIdentifier, ScopedIdentifier)

Declaration
public static bool operator ==(ScopedIdentifier obj1, ScopedIdentifier obj2)
Parameters
Type Name Description
ScopedIdentifier obj1
ScopedIdentifier obj2
Returns
Type Description
bool
| Edit this page View Source

operator !=(ScopedIdentifier, ScopedIdentifier)

Declaration
public static bool operator !=(ScopedIdentifier obj1, ScopedIdentifier obj2)
Parameters
Type Name Description
ScopedIdentifier obj1
ScopedIdentifier obj2
Returns
Type Description
bool

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX