RTI Connext C# API  6.1.0
Service Class Reference

Identifies the Connext DDS Service that created an Entity, if any. More...

Inherits IEquatable< Service >.

Public Member Functions

 Service (ServiceKind kind)
 Creates a new Service More...
 
Service With (Action< ServiceBuilder > build)
 Creates a new Service with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (Service other)
 Compares for equality More...
 

Properties

ServiceKind Kind [get]
 The kind of service. More...
 
static Service Default [get]
 Singleton containing the default value of a Service More...
 

Detailed Description

Identifies the Connext DDS Service that created an Entity, if any.

Constructor & Destructor Documentation

◆ Service()

Service ( ServiceKind  kind)

Creates a new Service

Parameters
kindThe value for Kind

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( Service  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

Service With ( Action< ServiceBuilder build)

Creates a new Service with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the current values of this Service.
Returns
A new Service with the changes applied by the Action

Property Documentation

◆ Default

Service Default
staticget

Singleton containing the default value of a Service

◆ Kind

ServiceKind Kind
get

The kind of service.

The full documentation is available in the C API: DDS_ServiceQosPolicy::kind