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