Skip to main content

ConfigurationDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Represents data of a configuration (mail, database, etc.)

public record ConfigurationDto : IEquatable<ConfigurationDto>

Inheritance Object → ConfigurationDto
Implements IEquatable<ConfigurationDto>

Properties​

ConfigurationRtId​

Gets or sets the runtime id of the configuration.

public OctoObjectId ConfigurationRtId { get; }

Property Value​

OctoObjectId

ConfigurationTypeId​

Returns the type of the configuration.

public RtCkId<CkTypeId> ConfigurationTypeId { get; }

Property Value​

RtCkId<CkTypeId>

ConfigurationName​

Returns the name of the configuration.

public string ConfigurationName { get; }

Property Value​

String

ConfigurationValue​

Returns the value of the configuration.

public string ConfigurationValue { get; }

Property Value​

String

Constructors​

ConfigurationDto(OctoObjectId, RtCkId<CkTypeId>, String, String)​

Initializes a new instance of the ConfigurationDto class.

public ConfigurationDto(OctoObjectId configurationRtId, RtCkId<CkTypeId> configurationTypeId, string configurationName, string configurationValue)

Parameters​

configurationRtId OctoObjectId
ID of the configuration.

configurationTypeId RtCkId<CkTypeId>
ID of the configuration type.

configurationName String
Name of the configuration.

configurationValue String
Value of the configuration.

Methods​

Equals(ConfigurationDto)​

public bool Equals(ConfigurationDto other)

Parameters​

other ConfigurationDto

Returns​

Boolean

GetHashCode()​

public int GetHashCode()

Returns​

Int32