C# 클래스 Seal.Helpers.Helper

파일 보기 프로젝트 열기: ariacom/Seal-Report

공개 메소드들

메소드 설명
AddNotEmpty ( string separator, string input ) : string
AddNotEmpty2 ( string input, string separator ) : string
AddValue ( StringBuilder &input, string separator, string value ) : void
AddValue ( string &input, string separator, string value ) : void
CalculateHash ( string str ) : int
CanDragAndDrop ( DragEventArgs e ) : bool
CheckOLEDBOS ( ) : bool
CheckTaskSchedulerOS ( ) : bool
CheckWebServerOS ( ) : bool
CleanFileName ( string s ) : string
Clone ( Object source ) : Object
CloneSeries ( System.Windows.Forms.DataVisualization.Charting.Series o ) : System.Windows.Forms.DataVisualization.Charting.Series
CompileRazor ( string script, Type modelType, string cacheName ) : void
ConcatCellValues ( Seal.Model.ResultCell cells, string separator ) : string
ConvertDateTimeStandardFormat ( DateTimeStandardFormat format ) : string
ConvertNumericStandardFormat ( NumericStandardFormat format ) : string
CopyProperties ( object src, object dest ) : void
DBNameToDisplayName ( string name ) : string
DatabaseToNetTypeConverter ( object dbValue ) : ColumnType
DbConnectionFromConnectionString ( string connectionString ) : DbConnection
DisplayDataTable ( DataTable table ) : void
ExecutePrePostSQL ( DbConnection connection, string sql, object model, bool ignoreErrors ) : void
FindReplacePattern ( string source, int &index, string pattern, string replace, StringBuilder result ) : bool
FormatMessage ( string message ) : string
GetAllGridEntries ( System.Windows.Forms.PropertyGrid grid ) : System.Windows.Forms.GridItemCollection
GetDataTable ( DbConnection connection, string sql ) : DataTable
GetEnumDescription ( Type type, Object value ) : string
GetExceptionMessage ( TemplateCompilationException ex ) : string
GetGridEntry ( System.Windows.Forms.PropertyGrid grid, string label ) : System.Windows.Forms.GridItem
GetOleDbConnectionString ( string input, string userName, string password ) : string
GetSystemDriverList ( ) : List
GetUniqueName ( string name, List entities ) : string
IfNullOrEmpty ( string value, string defaultValue ) : string
IsMachineAdministrator ( ) : bool
IsValidOS ( ) : bool
LoadRazorAssemblies ( ) : void
NetTypeConverter ( Type netType ) : ColumnType
ODBCToNetTypeConverter ( string odbcType ) : ColumnType
OdbcTypeConverter ( string dbType ) : ColumnType
OleDbToNetTypeConverter ( OleDbType oleDbTypeNumber ) : Type
ParseRazor ( string script, object model ) : string
QuoteDouble ( string input ) : string
QuoteSingle ( string input ) : string
RemoveHTMLTags ( string value ) : string
ToHtml ( string value ) : string
ToJS ( bool value ) : string
ToJS ( string value ) : string
WriteLogEntryScheduler ( EventLogEntryType type, string message ) : void
WriteLogEntryWeb ( EventLogEntryType type, string message ) : void

비공개 메소드들

메소드 설명
WriteLogEntry ( string source, EventLogEntryType type, string message ) : void

메소드 상세

AddNotEmpty() 공개 정적인 메소드

public static AddNotEmpty ( string separator, string input ) : string
separator string
input string
리턴 string

AddNotEmpty2() 공개 정적인 메소드

public static AddNotEmpty2 ( string input, string separator ) : string
input string
separator string
리턴 string

AddValue() 공개 정적인 메소드

public static AddValue ( StringBuilder &input, string separator, string value ) : void
input StringBuilder
separator string
value string
리턴 void

AddValue() 공개 정적인 메소드

public static AddValue ( string &input, string separator, string value ) : void
input string
separator string
value string
리턴 void

CalculateHash() 공개 정적인 메소드

public static CalculateHash ( string str ) : int
str string
리턴 int

CanDragAndDrop() 공개 정적인 메소드

public static CanDragAndDrop ( DragEventArgs e ) : bool
e System.Windows.Forms.DragEventArgs
리턴 bool

CheckOLEDBOS() 공개 정적인 메소드

public static CheckOLEDBOS ( ) : bool
리턴 bool

CheckTaskSchedulerOS() 공개 정적인 메소드

public static CheckTaskSchedulerOS ( ) : bool
리턴 bool

CheckWebServerOS() 공개 정적인 메소드

public static CheckWebServerOS ( ) : bool
리턴 bool

CleanFileName() 공개 정적인 메소드

public static CleanFileName ( string s ) : string
s string
리턴 string

Clone() 공개 정적인 메소드

public static Clone ( Object source ) : Object
source Object
리턴 Object

CloneSeries() 공개 정적인 메소드

public static CloneSeries ( System.Windows.Forms.DataVisualization.Charting.Series o ) : System.Windows.Forms.DataVisualization.Charting.Series
o System.Windows.Forms.DataVisualization.Charting.Series
리턴 System.Windows.Forms.DataVisualization.Charting.Series

CompileRazor() 공개 정적인 메소드

public static CompileRazor ( string script, Type modelType, string cacheName ) : void
script string
modelType System.Type
cacheName string
리턴 void

ConcatCellValues() 공개 정적인 메소드

public static ConcatCellValues ( Seal.Model.ResultCell cells, string separator ) : string
cells Seal.Model.ResultCell
separator string
리턴 string

ConvertDateTimeStandardFormat() 공개 정적인 메소드

public static ConvertDateTimeStandardFormat ( DateTimeStandardFormat format ) : string
format DateTimeStandardFormat
리턴 string

ConvertNumericStandardFormat() 공개 정적인 메소드

public static ConvertNumericStandardFormat ( NumericStandardFormat format ) : string
format NumericStandardFormat
리턴 string

CopyProperties() 공개 정적인 메소드

public static CopyProperties ( object src, object dest ) : void
src object
dest object
리턴 void

DBNameToDisplayName() 공개 정적인 메소드

public static DBNameToDisplayName ( string name ) : string
name string
리턴 string

DatabaseToNetTypeConverter() 공개 정적인 메소드

public static DatabaseToNetTypeConverter ( object dbValue ) : ColumnType
dbValue object
리턴 ColumnType

DbConnectionFromConnectionString() 공개 정적인 메소드

public static DbConnectionFromConnectionString ( string connectionString ) : DbConnection
connectionString string
리턴 System.Data.Common.DbConnection

DisplayDataTable() 공개 정적인 메소드

public static DisplayDataTable ( DataTable table ) : void
table System.Data.DataTable
리턴 void

ExecutePrePostSQL() 공개 정적인 메소드

public static ExecutePrePostSQL ( DbConnection connection, string sql, object model, bool ignoreErrors ) : void
connection System.Data.Common.DbConnection
sql string
model object
ignoreErrors bool
리턴 void

FindReplacePattern() 공개 정적인 메소드

public static FindReplacePattern ( string source, int &index, string pattern, string replace, StringBuilder result ) : bool
source string
index int
pattern string
replace string
result StringBuilder
리턴 bool

FormatMessage() 공개 정적인 메소드

public static FormatMessage ( string message ) : string
message string
리턴 string

GetAllGridEntries() 공개 정적인 메소드

public static GetAllGridEntries ( System.Windows.Forms.PropertyGrid grid ) : System.Windows.Forms.GridItemCollection
grid System.Windows.Forms.PropertyGrid
리턴 System.Windows.Forms.GridItemCollection

GetDataTable() 공개 정적인 메소드

public static GetDataTable ( DbConnection connection, string sql ) : DataTable
connection System.Data.Common.DbConnection
sql string
리턴 System.Data.DataTable

GetEnumDescription() 공개 정적인 메소드

public static GetEnumDescription ( Type type, Object value ) : string
type System.Type
value Object
리턴 string

GetExceptionMessage() 공개 정적인 메소드

public static GetExceptionMessage ( TemplateCompilationException ex ) : string
ex RazorEngine.Templating.TemplateCompilationException
리턴 string

GetGridEntry() 공개 정적인 메소드

public static GetGridEntry ( System.Windows.Forms.PropertyGrid grid, string label ) : System.Windows.Forms.GridItem
grid System.Windows.Forms.PropertyGrid
label string
리턴 System.Windows.Forms.GridItem

GetOleDbConnectionString() 공개 정적인 메소드

public static GetOleDbConnectionString ( string input, string userName, string password ) : string
input string
userName string
password string
리턴 string

GetSystemDriverList() 공개 정적인 메소드

public static GetSystemDriverList ( ) : List
리턴 List

GetUniqueName() 공개 정적인 메소드

public static GetUniqueName ( string name, List entities ) : string
name string
entities List
리턴 string

IfNullOrEmpty() 공개 정적인 메소드

public static IfNullOrEmpty ( string value, string defaultValue ) : string
value string
defaultValue string
리턴 string

IsMachineAdministrator() 공개 정적인 메소드

public static IsMachineAdministrator ( ) : bool
리턴 bool

IsValidOS() 공개 정적인 메소드

public static IsValidOS ( ) : bool
리턴 bool

LoadRazorAssemblies() 공개 정적인 메소드

public static LoadRazorAssemblies ( ) : void
리턴 void

NetTypeConverter() 공개 정적인 메소드

public static NetTypeConverter ( Type netType ) : ColumnType
netType System.Type
리턴 ColumnType

ODBCToNetTypeConverter() 공개 정적인 메소드

public static ODBCToNetTypeConverter ( string odbcType ) : ColumnType
odbcType string
리턴 ColumnType

OdbcTypeConverter() 공개 정적인 메소드

public static OdbcTypeConverter ( string dbType ) : ColumnType
dbType string
리턴 ColumnType

OleDbToNetTypeConverter() 공개 정적인 메소드

public static OleDbToNetTypeConverter ( OleDbType oleDbTypeNumber ) : Type
oleDbTypeNumber OleDbType
리턴 System.Type

ParseRazor() 공개 정적인 메소드

public static ParseRazor ( string script, object model ) : string
script string
model object
리턴 string

QuoteDouble() 공개 정적인 메소드

public static QuoteDouble ( string input ) : string
input string
리턴 string

QuoteSingle() 공개 정적인 메소드

public static QuoteSingle ( string input ) : string
input string
리턴 string

RemoveHTMLTags() 공개 정적인 메소드

public static RemoveHTMLTags ( string value ) : string
value string
리턴 string

ToHtml() 공개 정적인 메소드

public static ToHtml ( string value ) : string
value string
리턴 string

ToJS() 공개 정적인 메소드

public static ToJS ( bool value ) : string
value bool
리턴 string

ToJS() 공개 정적인 메소드

public static ToJS ( string value ) : string
value string
리턴 string

WriteLogEntryScheduler() 공개 정적인 메소드

public static WriteLogEntryScheduler ( EventLogEntryType type, string message ) : void
type EventLogEntryType
message string
리턴 void

WriteLogEntryWeb() 공개 정적인 메소드

public static WriteLogEntryWeb ( EventLogEntryType type, string message ) : void
type EventLogEntryType
message string
리턴 void