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)
Inheritance
Namespace: Telerik.NetworkConnections
Assembly: Telerik.NetworkConnections.dll
Syntax
public sealed class NetworkConnectionFullName : Object, IEquatable<NetworkConnectionFullName>
Constructors
NetworkConnectionFullName(String, String)
Creates a new instance of the class using the specified namespace and name
Declaration
public NetworkConnectionFullName(string namespace, string name)
Parameters
System. The connection namespace (e.g. OS) |
System. The connection name (e.g. OS network manager) |
Properties
Name
Gets the connection name (e.g. OS network manager)
Declaration
public string Name { get; }
Property Value
System.
|
Namespace
Gets the connection namespace (e.g. OS)
Declaration
public string Namespace { get; }
Property Value
System.
|
Methods
Equals(Object)
Implements the System.IEquatable<> interface for comparing to another object
Declaration
public override bool Equals(object obj)
Parameters
System. The object instance to compare to |
Returns
System. True if the object is a Network |
Equals(NetworkConnectionFullName)
Compares this instance to another Network
Declaration
public bool Equals(NetworkConnectionFullName other)
Parameters
Network The Network |
Returns
System. True if the connection names are equal |
GetHashCode()
Implements the System.IEquatable<> interface
Declaration
public override int GetHashCode()
Returns
System. A hash code for the connection name |
ToString()
Returns the current connection name as a string
Declaration
public override string ToString()
Returns
System. Returns the current connection name as a string |
Operators
Equality(NetworkConnectionFullName, NetworkConnectionFullName)
Compares two Network
Declaration
public static bool operator ==(NetworkConnectionFullName left, NetworkConnectionFullName right)
Parameters
Network First Network |
Network Second Network |
Returns
System. True if the connection names are equal |
Inequality(NetworkConnectionFullName, NetworkConnectionFullName)
Compares two Network
Declaration
public static bool operator !=(NetworkConnectionFullName left, NetworkConnectionFullName right)
Parameters
Network First Network |
Network Second Network |
Returns
System. True if the connection names are not equal |