RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.Partition Class Reference

Set of strings that introduces logical partitions in DomainParticipant, Publisher, or Subscriber entities 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 = new Partition(ImmutableList<string>.Empty) [get]
 Singleton containing the default value of a Partition More...
 

Detailed Description

Set of strings that introduces logical partitions in DomainParticipant, Publisher, or Subscriber entities

The full documentation is available in the C API: DDS_PartitionQosPolicy

Constructor & Destructor Documentation

◆ Partition() [1/2]

Rti.Dds.Core.Policy.Partition.Partition ( IEnumerable< string >  value)
inline

Creates a Partition object with a list of settings

◆ Partition() [2/2]

Rti.Dds.Core.Policy.Partition.Partition ( ImmutableList< string >  value)

Creates a Partition object with a list of settings

Member Function Documentation

◆ With()

Partition Rti.Dds.Core.Policy.Partition.With ( Action< ImmutableList< string >.Builder >  build)
inline

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

◆ GetHashCode()

override int Rti.Dds.Core.Policy.Partition.GetHashCode ( )

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.Partition.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.Partition.Equals ( Partition  other)
inline

Compares for equality

Property Documentation

◆ Name

ImmutableList<string> Rti.Dds.Core.Policy.Partition.Name
get

A list of partition names

The full documentation is available in the C API: DDS_PartitionQosPolicy_name

◆ Default

Partition Rti.Dds.Core.Policy.Partition.Default = new Partition(ImmutableList<string>.Empty)
staticget

Singleton containing the default value of a Partition