Table of Contents

Class ProtocolID

Namespace
Skyline.DataMiner.Net
Assembly
SLNetTypes.dll

Represents a protocol ID.

[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public sealed class ProtocolID : DMAObjectRef
Inheritance
DMAObjectRef
ProtocolID
Extension Methods

Constructors

ProtocolID()

Initializes a new instance of the ProtocolID class.

ProtocolID(SerializationInfo, StreamingContext)

Constructor used for deserialization

ProtocolID(string, string)

Initializes a new instance of the ProtocolID class using the specified name and version.

ProtocolID(string, string, DMAObjectRef)

Initializes a new instance of the ProtocolID class using the specified name, version and parent object reference.

Properties

Name

Gets or sets the name of the protocol.

ParentObjectRef

Gets or sets the parent object.

Version

Gets or sets the version of the protocol.

Methods

Build(SimpleByteReader)
Clone()

Creates a new object that is a copy of the current instance.

CompareTo(ProtocolID)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

CompareTo(object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Empty()
Equals(ProtocolID)

Determines whether the specified ProtocolID object is equal to the current object.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Calculates the hash code for this object.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

ToFileFriendlyString()
ToSelectorBlock()
ToString()

Returns a string that represents the current object.

Write(SimpleByteWriter)