Class
NetworkConnectionFullName

This class is used to represent a connection name comprising of a namespace (e.g. OS) and a name (e.g. OS network manager)

Definition

Namespace:Telerik.NetworkConnections

Assembly:Telerik.NetworkConnections.dll

Syntax:

cs-api-definition
public sealed class NetworkConnectionFullName : IEquatable<NetworkConnectionFullName>

Inheritance: objectNetworkConnectionFullName

Implements: IEquatable<NetworkConnectionFullName>

Inherited Members object.GetType()object.Equals(object, object)object.ReferenceEquals(object, object)

Constructors

NetworkConnectionFullName(string, string)

Creates a new instance of the class using the specified namespace and name

Declaration

cs-api-definition
public NetworkConnectionFullName(string @namespace, string name)

Parameters

namespace

string

The connection namespace (e.g. OS)

name

string

The connection name (e.g. OS network manager)

Properties

Name

Gets the connection name (e.g. OS network manager)

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

Namespace

Gets the connection namespace (e.g. OS)

Declaration

cs-api-definition
public string Namespace { get; }

Property Value

string

Methods

Equals(NetworkConnectionFullName)

Compares this instance to another NetworkConnectionFullName instance

Declaration

cs-api-definition
public bool Equals(NetworkConnectionFullName other)

Parameters

other

NetworkConnectionFullName

The NetworkConnectionFullName instance to compare to

Returns

bool

True if the connection names are equal

Implements IEquatable<NetworkConnectionFullName>.Equals(NetworkConnectionFullName)

Equals(object)

Implements the IEquatable<T> interface for comparing to another object

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object instance to compare to

Returns

bool

True if the object is a NetworkConnectionFullName instance and connection names are equal

Overrides object.Equals(object)

GetHashCode()

Implements the IEquatable<T> interface

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the connection name

Overrides object.GetHashCode()

ToString()

Returns the current connection name as a string

Declaration

cs-api-definition
public override string ToString()

Returns

string

Returns the current connection name as a string

Overrides object.ToString()

Operators

operator !=(NetworkConnectionFullName, NetworkConnectionFullName)

Compares two NetworkConnectionFullName instances for difference

Declaration

cs-api-definition
public static bool operator !=(NetworkConnectionFullName left, NetworkConnectionFullName right)

Parameters

left

NetworkConnectionFullName

First NetworkConnectionFullName instance

right

NetworkConnectionFullName

Second NetworkConnectionFullName instance

Returns

bool

True if the connection names are not equal

operator ==(NetworkConnectionFullName, NetworkConnectionFullName)

Compares two NetworkConnectionFullName instances for equality

Declaration

cs-api-definition
public static bool operator ==(NetworkConnectionFullName left, NetworkConnectionFullName right)

Parameters

left

NetworkConnectionFullName

First NetworkConnectionFullName instance

right

NetworkConnectionFullName

Second NetworkConnectionFullName instance

Returns

bool

True if the connection names are equal