C# Класс DotNetNuke.Modules.Xml.Components.Utils

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CheckWebPermission() публичный статический Метод

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
Результат bool

CreateXmlReader() публичный статический Метод

public static CreateXmlReader ( string xmlsrc, int portalId ) : XmlReader
xmlsrc string
portalId int
Результат XmlReader

CreateXmlReader() публичный статический Метод

public static CreateXmlReader ( string xmlsrc, int portalId, bool prohibitDtd ) : XmlReader
xmlsrc string
portalId int
prohibitDtd bool
Результат XmlReader

DefaultIfNullOrEmpty() публичный статический Метод

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
Результат string

GetSha256HashCode() публичный статический Метод

public static GetSha256HashCode ( Credential credential ) : string
credential Credential
Результат string

GetSha256HashCode() публичный статический Метод

public static GetSha256HashCode ( NetworkCredential credential ) : string
credential System.Net.NetworkCredential
Результат string

GetSha256HashCode() публичный статический Метод

public static GetSha256HashCode ( string &input ) : string
input string
Результат string

IsOfSameTypeAs() публичный статический Метод

public static IsOfSameTypeAs ( this a, object b ) : bool
a this
b object
Результат bool