Table of Contents

Class Property

Namespace
Dassie.Configuration
Assembly
dc.dll

Represents a configuration property.

public record Property : IEquatable<Property>
Inheritance
Property
Implements
Inherited Members
Extension Methods

Constructors

Property(string, Type, object, string, bool)

Represents a configuration property.

public Property(string Name, Type Type, object Default = null, string Description = null, bool CanBeCached = true)

Parameters

Name string

The name of the property.

Type Type

The type of the property.

Default object

The default value of the property.

Description string

The description of the property.

CanBeCached bool

Specifies wheter the property value can be cached.

Properties

CanBeCached

Specifies wheter the property value can be cached.

public bool CanBeCached { get; init; }

Property Value

bool

Default

The default value of the property.

public object Default { get; init; }

Property Value

object

Description

The description of the property.

public string Description { get; init; }

Property Value

string

Name

The name of the property.

public string Name { get; init; }

Property Value

string

Type

The type of the property.

public Type Type { get; init; }

Property Value

Type