Share via


GeneralFunctions Class

Definition

Represents general functions used to retrieve data from XML, checking for numeric validation, etc.

public ref class GeneralFunctions sealed
public sealed class GeneralFunctions
type GeneralFunctions = class
Public NotInheritable Class GeneralFunctions
Inheritance
GeneralFunctions

Fields

EventLogEventSourceName

Represents the event log source for UII

Methods

CanDeserialize<TType>(String)

Determines whether a string can be deserialized to an object of specified type.

DecryptStringFromBytes(Byte[], Byte[], Byte[])
Obsolete.

Decrypts the given text using symmetric Rijndael algorithm.

Deserialize(String, Type)

Deserializes the XML string into an object of type passed in.

Deserialize<TType>(String)

Deserializes an XML string into an object of type passed in.

EncryptStringToBytes(String, Byte[], Byte[])
Obsolete.

Encrypts the given text using symmetric Rijndael algorithm.

EscapeXml(String)

Escapes Xml metacharacters

GetValueFromReader(SqlDataReader, Int32)

Retrieves the value of the indexed field in the reader.

GetValueFromReader(SqlDataReader, String)

Retrieves the value of name field in the reader.

GetXmlNodeText(String, String)

Retrieves the node value of given xpath by loading the given XML.

GetXmlNodeValue(String, String)
Obsolete.

Retrieves the node value of given xpath by loading the given XML.

IsInitialInstance()

Ensures only one copy of the executing application is running at a time.

IsNumeric(String)

Determines whether the given input value is numeric.

Serialize(Object)

Serializes the object passed in returning an xml string.

Serialize<TType>(TType)

Serializes the object passed in returning an xml string.

UnEscapeXml(String)

Unescapes Xml metacharacters.

WriteToApplicationEventLog(String, EventLogEntryType)

Writes to the application event log.

Applies to