NamedDomainKey<T> Class

Definition

The domain key with a string name for a general SFC domain root instance class.

public class NamedDomainKey<T> : Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey, IEquatable<Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<T>> where T : ISfcDomain
type NamedDomainKey<'T (requires 'T :> ISfcDomain)> = class
    inherit DomainRootKey
    interface IEquatable<NamedDomainKey<'T>>
Public Class NamedDomainKey(Of T)
Inherits DomainRootKey
Implements IEquatable(Of NamedDomainKey(Of T))

Type Parameters

T
Inheritance
NamedDomainKey<T>
Implements

Constructors

NamedDomainKey<T>()

Default constructor for a general SFC named domain key. The caller must remember to set the Root property post-construction.

NamedDomainKey<T>(ISfcDomain, IDictionary<String,Object>)

Construct a general SFC named domain key from a domain root instance using the given field dictionary.

NamedDomainKey<T>(ISfcDomain, String)

Construct a general SFC named domain key from a domain root instance using the given name.

NamedDomainKey<T>(ISfcDomain)

Construct a general SFC named domain key from a domain root instance using its domain instance name.

Properties

Domain (Inherited from DomainRootKey)
InstanceType

The instance type which this key represents.

Name

The name key value.

UrnName

The Urn level name corresponding to the instance type which this key respresents. It is normally the instance type class name. Overriding this typically is done with typeof(T).urnName or similar.

Methods

Equals(NamedDomainKey<T>)

Compare a named domain key to this key for value equality.

Equals(Object, Object)

Equals static operator for a key.

Equals(Object)

Compare a named domain key to this key for value equality.

Equals(SfcKey)

Compare a named domain key to this key for value equality.

GetHashCode()

Generate a hash code for the key.

GetUrnFragment()

The Urn level fragment obtains its name from the key name property by default. Override in a derived key class if you need a different fragment format.

ToString()

The string value for the key.

Operators

Equality(NamedDomainKey<T>, NamedDomainKey<T>)

Compare two keys for equality.

Inequality(NamedDomainKey<T>, NamedDomainKey<T>)

Compare two keys for inequality.

Applies to