C# 클래스 DotNetNuke.Modules.UserDefinedTable.Components.Utilities

파일 보기 프로젝트 열기: DNNCommunity/DNN.FormAndList

공개 메소드들

메소드 설명
AsBoolean ( this value ) : bool
AsBoolean ( this value, bool @default ) : bool
AsInt ( this value ) : int

returns Null.NullInteger, when value is nothing, otherwise tries to convert value to Integer and returns it.

AsInt ( this value, int @default ) : int

returns default, when value is nothing, otherwise tries to convert value to Integer and returns it.

AsString ( this value ) : string

returns default, when value is nothing, otherwise tries to convert value to string and returns it.

AsString ( this value, string @default ) : string
AsString ( this row, string columnname, string @default ) : string
GetFolder ( DotNetNuke.Entities.Portals.PortalSettings portalsettings, string homeFolderName ) : IFolderInfo
GetFolder ( DotNetNuke.Entities.Portals.PortalSettings portalsettings, string homeFolderName, string defaultFolderName ) : IFolderInfo
HasWritePermission ( string folder, int portalid ) : bool
IconURL ( string iconKey ) : string
Like ( this text, string pattern ) : System.Boolean
ReadStringFromFile ( string homeFilePath, int portalId ) : string
SaveScript ( string fileContent, string fileName, IFolderInfo folder, bool forceOverWrite ) : bool
UrlHexDecode ( this value ) : string
UrlHexEncode ( this value ) : string
ValidateRegEx ( this value, string pattern ) : bool

메소드 상세

AsBoolean() 공개 정적인 메소드

public static AsBoolean ( this value ) : bool
value this
리턴 bool

AsBoolean() 공개 정적인 메소드

public static AsBoolean ( this value, bool @default ) : bool
value this
@default bool
리턴 bool

AsInt() 공개 정적인 메소드

returns Null.NullInteger, when value is nothing, otherwise tries to convert value to Integer and returns it.
public static AsInt ( this value ) : int
value this object containing value to return
리턴 int

AsInt() 공개 정적인 메소드

returns default, when value is nothing, otherwise tries to convert value to Integer and returns it.
public static AsInt ( this value, int @default ) : int
value this object containing value to return
@default int
리턴 int

AsString() 공개 정적인 메소드

returns default, when value is nothing, otherwise tries to convert value to string and returns it.
public static AsString ( this value ) : string
value this
리턴 string

AsString() 공개 정적인 메소드

public static AsString ( this value, string @default ) : string
value this
@default string
리턴 string

AsString() 공개 정적인 메소드

public static AsString ( this row, string columnname, string @default ) : string
row this
columnname string
@default string
리턴 string

GetFolder() 공개 정적인 메소드

public static GetFolder ( DotNetNuke.Entities.Portals.PortalSettings portalsettings, string homeFolderName ) : IFolderInfo
portalsettings DotNetNuke.Entities.Portals.PortalSettings
homeFolderName string
리턴 IFolderInfo

GetFolder() 공개 정적인 메소드

public static GetFolder ( DotNetNuke.Entities.Portals.PortalSettings portalsettings, string homeFolderName, string defaultFolderName ) : IFolderInfo
portalsettings DotNetNuke.Entities.Portals.PortalSettings
homeFolderName string
defaultFolderName string
리턴 IFolderInfo

HasWritePermission() 공개 정적인 메소드

public static HasWritePermission ( string folder, int portalid ) : bool
folder string
portalid int
리턴 bool

IconURL() 공개 정적인 메소드

public static IconURL ( string iconKey ) : string
iconKey string
리턴 string

Like() 공개 정적인 메소드

public static Like ( this text, string pattern ) : System.Boolean
text this
pattern string
리턴 System.Boolean

ReadStringFromFile() 정적인 공개 메소드

static public ReadStringFromFile ( string homeFilePath, int portalId ) : string
homeFilePath string
portalId int
리턴 string

SaveScript() 공개 정적인 메소드

public static SaveScript ( string fileContent, string fileName, IFolderInfo folder, bool forceOverWrite ) : bool
fileContent string
fileName string
folder IFolderInfo
forceOverWrite bool
리턴 bool

UrlHexDecode() 공개 정적인 메소드

public static UrlHexDecode ( this value ) : string
value this
리턴 string

UrlHexEncode() 공개 정적인 메소드

public static UrlHexEncode ( this value ) : string
value this
리턴 string

ValidateRegEx() 공개 정적인 메소드

public static ValidateRegEx ( this value, string pattern ) : bool
value this
pattern string
리턴 bool