Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ReportInt64Attribute.cs
1
using
System
;
2
using
System.Xml;
3
4
namespace
Waher.Reports.Model.Attributes
5
{
9
public
class
ReportInt64Attribute
:
ReportAttribute
<long>
10
{
16
public
ReportInt64Attribute
(XmlElement Xml,
string
AttributeName)
17
: base(Xml, AttributeName)
18
{
19
}
20
26
public
override
long
ParseValue
(
string
s)
27
{
28
if
(
long
.TryParse(s, out
long
Value))
29
return
Value;
30
else
31
throw
new
ArgumentException(
"Invalid long value: "
+ s, nameof(s));
32
}
33
}
34
}
Waher.Reports.Model.Attributes.ReportAttribute
Abstract base class for report attributes.
Definition:
ReportAttribute.cs:15
Waher.Reports.Model.Attributes.ReportInt64Attribute
Report Int64 attribute.
Definition:
ReportInt64Attribute.cs:10
Waher.Reports.Model.Attributes.ReportInt64Attribute.ParseValue
override long ParseValue(string s)
Parses a string representation of a value.
Definition:
ReportInt64Attribute.cs:26
Waher.Reports.Model.Attributes.ReportInt64Attribute.ReportInt64Attribute
ReportInt64Attribute(XmlElement Xml, string AttributeName)
Report Int64 attribute.
Definition:
ReportInt64Attribute.cs:16
System
Definition:
Adapters.g.cs:58
Waher.Reports.Model.Attributes
Definition:
ReportAttribute.cs:9
IoTGateway
Reports
Waher.Reports.Files
Model
Attributes
ReportInt64Attribute.cs
Generated by
1.9.5