\r\n

51Degrees Pipeline .NET  4.4

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Core.Data.Types.JavaScript Class Reference

Detailed Description

JavaScript type which can be returned as a value by an ElementData.

A value being of type JavaScript indicates that it is intended to be run on a client browser. See the Specification

Inheritance diagram for FiftyOne.Pipeline.Core.Data.Types.JavaScript:

[legend]

Collaboration diagram for FiftyOne.Pipeline.Core.Data.Types.JavaScript:

[legend]

Public Member Functions

 JavaScript (string value)
Constructor. More...
int  CompareTo (string other)
Compare the specified value to this instance. More...
bool  Equals (string other)
Check if the specified value is equal to this instance. More...
override bool  Equals (object obj)
Check if the current instance is equal to the specified object. More...
override int  GetHashCode ()
Get a hash code for this instance More...
override string  ToString ()
Get the string representation of this instance. More...

Constructor & Destructor Documentation

◆ JavaScript()

FiftyOne.Pipeline.Core.Data.Types.JavaScript.JavaScript ( string   value )

Constructor.

Parameters
value - String value containing the JavaScript

Member Function Documentation

◆ CompareTo()

int FiftyOne.Pipeline.Core.Data.Types.JavaScript.CompareTo ( string   other )

Compare the specified value to this instance.

Parameters
other - The value to compare with
Returns
0 if the instances have the same value

◆ Equals() [1/2]

bool FiftyOne.Pipeline.Core.Data.Types.JavaScript.Equals ( string   other )

Check if the specified value is equal to this instance.

Parameters
other - The value to check for equality
Returns
True if the values are equal, false otherwise

◆ Equals() [2/2]

override bool FiftyOne.Pipeline.Core.Data.Types.JavaScript.Equals ( object   obj )

Check if the current instance is equal to the specified object.

Parameters
obj - The object to check for equality
Returns
True if the values are equal, false otherwise

◆ GetHashCode()

override int FiftyOne.Pipeline.Core.Data.Types.JavaScript.GetHashCode ( )

Get a hash code for this instance

The hash code is taken directly from the string representation of this instance.

Returns
The hash code for this instance

◆ ToString()

override string FiftyOne.Pipeline.Core.Data.Types.JavaScript.ToString ( )

Get the string representation of this instance.

Returns
The string representation of this instance.