Class VarDef
Provides variable definition - the name and parameters how fast a variable decays - loses its value towards 0 when it gets deleted
Inheritance
System.Object
VarDef
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.IO.Net.Gate
Assembly: Azos.dll
Syntax
public class VarDef : INamed
Constructors
VarDef(IConfigSectionNode)
Declaration
public VarDef(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
VarDef(String)
Declaration
public VarDef(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Fields
DEFAULT_DECAY_BY
Declaration
public const int DEFAULT_DECAY_BY = 1
Field Value
Type | Description |
---|---|
System.Int32 |
DEFAULT_INTERVAL_SEC
Declaration
public const int DEFAULT_INTERVAL_SEC = 10
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
DecayBy
Declaration
[Config]
public int DecayBy { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IntervalSec
Declaration
[Config(Default = 10)]
public int IntervalSec { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |