Skip to content

XMediator::Api::CustomProperties::Builder

A convenience class for creating CustomProperties.

Public Functions

Name
Builder()
Builder(CustomProperties customProperties)
Builder AddBoolean(string key, bool value)
Builder AddInt(string key, int value)
Builder AddFloat(string key, float value)
Builder AddDouble(string key, double value)
Builder AddString(string key, string value)
Builder AddStringSet(string key, IEnumerable< string > value)
CustomProperties Build()

Public Functions Documentation

function Builder

Builder()

function Builder

Builder(
    CustomProperties customProperties
)

function AddBoolean

Builder AddBoolean(
    string key,
    bool value
)

function AddInt

Builder AddInt(
    string key,
    int value
)

function AddFloat

Builder AddFloat(
    string key,
    float value
)

function AddDouble

Builder AddDouble(
    string key,
    double value
)

function AddString

Builder AddString(
    string key,
    string value
)

function AddStringSet

Builder AddStringSet(
    string key,
    IEnumerable< string > value
)

function Build

CustomProperties Build()

Updated on 2024-11-07 at 18:31:49 +0000