C# Class OSAE.Common

Common helper class for common functionality
Exibir arquivo Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
CheckComputerObject ( string sourceName ) : void
CreateSandboxDomain ( string name, string path, SecurityZone zone, Type item ) : AppDomain
GetComputerIP ( ) : string
GetJavascriptTimestamp ( System input ) : long
InitialiseLogFolder ( ) : void
LocalIPAddress ( ) : string
ObjectNamesStartingWith ( string pattern ) : DataSet

Get all object names that start with a single word

PatternParse ( string pattern ) : string
TestConnection ( ) : DBConnectionStatus

Test to see if we can get a successful connection to the DB

Method Details

CheckComputerObject() public static method

public static CheckComputerObject ( string sourceName ) : void
sourceName string
return void

CreateSandboxDomain() public static method

public static CreateSandboxDomain ( string name, string path, SecurityZone zone, Type item ) : AppDomain
name string
path string
zone SecurityZone
item System.Type
return System.AppDomain

GetComputerIP() public static method

public static GetComputerIP ( ) : string
return string

GetJavascriptTimestamp() public static method

public static GetJavascriptTimestamp ( System input ) : long
input System
return long

InitialiseLogFolder() public static method

public static InitialiseLogFolder ( ) : void
return void

LocalIPAddress() public static method

public static LocalIPAddress ( ) : string
return string

ObjectNamesStartingWith() public static method

Get all object names that start with a single word
public static ObjectNamesStartingWith ( string pattern ) : DataSet
pattern string
return System.Data.DataSet

PatternParse() public static method

public static PatternParse ( string pattern ) : string
pattern string
return string

TestConnection() public static method

Test to see if we can get a successful connection to the DB
public static TestConnection ( ) : DBConnectionStatus
return OSAE.General.DBConnectionStatus