C# Class DotNetNuke.Modules.UserDefinedTable.Components.Utilities

Afficher le fichier Open project: DNNCommunity/DNN.FormAndList

Méthodes publiques

Méthode Description
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

Method Details

AsBoolean() public static méthode

public static AsBoolean ( this value ) : bool
value this
Résultat bool

AsBoolean() public static méthode

public static AsBoolean ( this value, bool @default ) : bool
value this
@default bool
Résultat bool

AsInt() public static méthode

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
Résultat int

AsInt() public static méthode

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
Résultat int

AsString() public static méthode

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

AsString() public static méthode

public static AsString ( this value, string @default ) : string
value this
@default string
Résultat string

AsString() public static méthode

public static AsString ( this row, string columnname, string @default ) : string
row this
columnname string
@default string
Résultat string

GetFolder() public static méthode

public static GetFolder ( DotNetNuke.Entities.Portals.PortalSettings portalsettings, string homeFolderName ) : IFolderInfo
portalsettings DotNetNuke.Entities.Portals.PortalSettings
homeFolderName string
Résultat IFolderInfo

GetFolder() public static méthode

public static GetFolder ( DotNetNuke.Entities.Portals.PortalSettings portalsettings, string homeFolderName, string defaultFolderName ) : IFolderInfo
portalsettings DotNetNuke.Entities.Portals.PortalSettings
homeFolderName string
defaultFolderName string
Résultat IFolderInfo

HasWritePermission() public static méthode

public static HasWritePermission ( string folder, int portalid ) : bool
folder string
portalid int
Résultat bool

IconURL() public static méthode

public static IconURL ( string iconKey ) : string
iconKey string
Résultat string

Like() public static méthode

public static Like ( this text, string pattern ) : System.Boolean
text this
pattern string
Résultat System.Boolean

ReadStringFromFile() static public méthode

static public ReadStringFromFile ( string homeFilePath, int portalId ) : string
homeFilePath string
portalId int
Résultat string

SaveScript() public static méthode

public static SaveScript ( string fileContent, string fileName, IFolderInfo folder, bool forceOverWrite ) : bool
fileContent string
fileName string
folder IFolderInfo
forceOverWrite bool
Résultat bool

UrlHexDecode() public static méthode

public static UrlHexDecode ( this value ) : string
value this
Résultat string

UrlHexEncode() public static méthode

public static UrlHexEncode ( this value ) : string
value this
Résultat string

ValidateRegEx() public static méthode

public static ValidateRegEx ( this value, string pattern ) : bool
value this
pattern string
Résultat bool