C# 클래스 DotNetNuke.Modules.Xml.Components.Utils

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

공개 메소드들

메소드 설명
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