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
NamestringThe name of the property.
TypeTypeThe type of the property.
DefaultobjectThe default value of the property.
DescriptionstringThe description of the property.
CanBeCachedboolSpecifies wheter the property value can be cached.
Properties
CanBeCached
Specifies wheter the property value can be cached.
public bool CanBeCached { get; init; }
Property Value
Default
The default value of the property.
public object Default { get; init; }
Property Value
Description
The description of the property.
public string Description { get; init; }
Property Value
Name
The name of the property.
public string Name { get; init; }
Property Value
Type
The type of the property.
public Type Type { get; init; }