RTI Connext C# API  6.1.2
Partition Class Reference

Set of strings that introduces a logical partition among the topics visible by a Publication.Publisher and a Subscription.Subscriber More...

Inherits IEquatable< Partition >.

Public Member Functions

 Partition (IEnumerable< string > value)
 Creates a Partition object with a list of settings More...
 
 Partition (ImmutableList< string > value)
 Creates a Partition object with a list of settings More...
 
Partition With (Action< ImmutableList< string >.Builder > build)
 Creates a new Partition 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 (Partition other)
 Compares for equality More...
 

Properties

ImmutableList< string > Name [get]
 A list of partition names More...
 
static Partition Default [get]
 Singleton containing the default value of a Partition More...
 

Detailed Description

Set of strings that introduces a logical partition among the topics visible by a Publication.Publisher and a Subscription.Subscriber

The full documentation is available in the C API: DDS_PartitionQosPolicy

Constructor & Destructor Documentation

◆ Partition() [1/2]

Partition ( IEnumerable< string >  value)

Creates a Partition object with a list of settings

◆ Partition() [2/2]

Partition ( ImmutableList< string >  value)

Creates a Partition object with a list of settings

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( Partition  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

Partition With ( Action< ImmutableList< string >.Builder >  build)

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

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

Property Documentation

◆ Default

Partition Default
staticget

Singleton containing the default value of a Partition

◆ Name

ImmutableList<string> Name
get

A list of partition names

The full documentation is available in the C API: DDS_PartitionQosPolicy::name