C# Class DotNetNuke.Modules.Xml.Components.Utils

Afficher le fichier Open project: DNNCommunity/DNN.XML

Méthodes publiques

Méthode Description
CheckWebPermission ( string url ) : bool

determines whether the current Security grants the need permissions to connect to the url

Helpful in Medium Trust environment.

CreateXmlReader ( string xmlsrc, int portalId ) : XmlReader
CreateXmlReader ( string xmlsrc, int portalId, bool prohibitDtd ) : XmlReader
DefaultIfNullOrEmpty ( this value, string @default = "" ) : string

Returns the value as string if the object isn't null or empty. Otherwise it is replaced by the default string

GetSha256HashCode ( Credential credential ) : string
GetSha256HashCode ( NetworkCredential credential ) : string
GetSha256HashCode ( string &input ) : string
IsOfSameTypeAs ( this a, object b ) : bool

Method Details

CheckWebPermission() public static méthode

determines whether the current Security grants the need permissions to connect to the url
Helpful in Medium Trust environment.
public static CheckWebPermission ( string url ) : bool
url string
Résultat bool

CreateXmlReader() public static méthode

public static CreateXmlReader ( string xmlsrc, int portalId ) : XmlReader
xmlsrc string
portalId int
Résultat XmlReader

CreateXmlReader() public static méthode

public static CreateXmlReader ( string xmlsrc, int portalId, bool prohibitDtd ) : XmlReader
xmlsrc string
portalId int
prohibitDtd bool
Résultat XmlReader

DefaultIfNullOrEmpty() public static méthode

Returns the value as string if the object isn't null or empty. Otherwise it is replaced by the default string
public static DefaultIfNullOrEmpty ( this value, string @default = "" ) : string
value this
@default string
Résultat string

GetSha256HashCode() public static méthode

public static GetSha256HashCode ( Credential credential ) : string
credential Credential
Résultat string

GetSha256HashCode() public static méthode

public static GetSha256HashCode ( NetworkCredential credential ) : string
credential System.Net.NetworkCredential
Résultat string

GetSha256HashCode() public static méthode

public static GetSha256HashCode ( string &input ) : string
input string
Résultat string

IsOfSameTypeAs() public static méthode

public static IsOfSameTypeAs ( this a, object b ) : bool
a this
b object
Résultat bool