C# Class Woopsa.WoopsaValue

Inheritance: IWoopsaValue
Mostra file Open project: woopsa-protocol/Woopsa Class Usage Examples

Public Methods

Method Description
CreateChecked ( string text, WoopsaValueType type, System.DateTime timestamp = null ) : WoopsaValue
DeserializedJsonToWoopsaValue ( object deserializedJson, WoopsaValueType type, System.DateTime timeStamp = null ) : WoopsaValue
Equals ( object obj ) : bool
FormatAbsoluteWoopsaLink ( string woopsaServerUrl, string woopsaItemPath ) : string
FormatRelativeWoopsaLink ( string woopsaItemPath ) : string
GetHashCode ( ) : int
ToString ( ) : string
ToWoopsaValue ( object value, WoopsaValueType type, System.DateTime timeStamp = null ) : WoopsaValue
WoopsaAbsoluteLink ( string woopsaServerUrl, string woopsaItemPath ) : WoopsaValue
WoopsaJsonData ( string jsonData ) : WoopsaValue
WoopsaRelativeLink ( string woopsaItemPath ) : WoopsaValue
WoopsaResourceUrl ( string resourceUrl ) : WoopsaValue
WoopsaValue ( System.DateTime value, System.DateTime timestamp = null ) : System
WoopsaValue ( System.Int64 value, System.DateTime timestamp = null ) : System
WoopsaValue ( System.TimeSpan value, System.DateTime timestamp = null ) : System
WoopsaValue ( WoopsaJsonData jsonData, System.DateTime timestamp = null ) : System
WoopsaValue ( bool value, System.DateTime timestamp = null ) : System
WoopsaValue ( double value, System.DateTime timestamp = null ) : System
WoopsaValue ( string value, System.DateTime timestamp = null ) : System

Private Methods

Method Description
CreateUnchecked ( string text, WoopsaValueType type, System.DateTime timestamp = null ) : WoopsaValue
WoopsaValue ( string text, WoopsaValueType type ) : System
WoopsaValue ( string text, WoopsaValueType type, System.DateTime timestamp ) : System

Method Details

CreateChecked() public static method

public static CreateChecked ( string text, WoopsaValueType type, System.DateTime timestamp = null ) : WoopsaValue
text string
type WoopsaValueType
timestamp System.DateTime
return WoopsaValue

DeserializedJsonToWoopsaValue() public static method

public static DeserializedJsonToWoopsaValue ( object deserializedJson, WoopsaValueType type, System.DateTime timeStamp = null ) : WoopsaValue
deserializedJson object
type WoopsaValueType
timeStamp System.DateTime
return WoopsaValue

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FormatAbsoluteWoopsaLink() public static method

public static FormatAbsoluteWoopsaLink ( string woopsaServerUrl, string woopsaItemPath ) : string
woopsaServerUrl string
woopsaItemPath string
return string

FormatRelativeWoopsaLink() public static method

public static FormatRelativeWoopsaLink ( string woopsaItemPath ) : string
woopsaItemPath string
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

ToWoopsaValue() public static method

public static ToWoopsaValue ( object value, WoopsaValueType type, System.DateTime timeStamp = null ) : WoopsaValue
value object
type WoopsaValueType
timeStamp System.DateTime
return WoopsaValue

WoopsaAbsoluteLink() public static method

public static WoopsaAbsoluteLink ( string woopsaServerUrl, string woopsaItemPath ) : WoopsaValue
woopsaServerUrl string
woopsaItemPath string
return WoopsaValue

WoopsaJsonData() public static method

public static WoopsaJsonData ( string jsonData ) : WoopsaValue
jsonData string
return WoopsaValue

WoopsaRelativeLink() public static method

public static WoopsaRelativeLink ( string woopsaItemPath ) : WoopsaValue
woopsaItemPath string
return WoopsaValue

WoopsaResourceUrl() public static method

public static WoopsaResourceUrl ( string resourceUrl ) : WoopsaValue
resourceUrl string
return WoopsaValue

WoopsaValue() public method

public WoopsaValue ( System.DateTime value, System.DateTime timestamp = null ) : System
value System.DateTime
timestamp System.DateTime
return System

WoopsaValue() public method

public WoopsaValue ( System.Int64 value, System.DateTime timestamp = null ) : System
value System.Int64
timestamp System.DateTime
return System

WoopsaValue() public method

public WoopsaValue ( System.TimeSpan value, System.DateTime timestamp = null ) : System
value System.TimeSpan
timestamp System.DateTime
return System

WoopsaValue() public method

public WoopsaValue ( WoopsaJsonData jsonData, System.DateTime timestamp = null ) : System
jsonData WoopsaJsonData
timestamp System.DateTime
return System

WoopsaValue() public method

public WoopsaValue ( bool value, System.DateTime timestamp = null ) : System
value bool
timestamp System.DateTime
return System

WoopsaValue() public method

public WoopsaValue ( double value, System.DateTime timestamp = null ) : System
value double
timestamp System.DateTime
return System

WoopsaValue() public method

public WoopsaValue ( string value, System.DateTime timestamp = null ) : System
value string
timestamp System.DateTime
return System