Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
DefaultValueAttribute.cs
1
using
System;
2
3
namespace
Waher.Persistence.Attributes
4
{
9
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple =
false
, Inherited =
true
)]
10
public
class
DefaultValueAttribute
: Attribute
11
{
12
private
readonly
object
value;
13
19
public
DefaultValueAttribute
(
object
Value
)
20
: base()
21
{
22
this.value =
Value
;
23
}
24
28
public
object
Value
=> this.value;
29
}
30
}
Waher.Persistence.Attributes.DefaultValueAttribute
This attribute informs the persistence layer about the default value of a member (field or property)....
Definition:
DefaultValueAttribute.cs:11
Waher.Persistence.Attributes.DefaultValueAttribute.Value
object Value
Default value of member.
Definition:
DefaultValueAttribute.cs:28
Waher.Persistence.Attributes.DefaultValueAttribute.DefaultValueAttribute
DefaultValueAttribute(object Value)
This attribute informs the persistence layer about the default value of a member (field or property)....
Definition:
DefaultValueAttribute.cs:19
Waher.Persistence.Attributes
Definition:
ArchivingTimeAttribute.cs:4
IoTGateway
Persistence
Waher.Persistence
Attributes
DefaultValueAttribute.cs
Generated by
1.9.5