C# 클래스 AuthBridge.Clients.Util.DictionaryExtensions

파일 보기 프로젝트 열기: Teleopti/authbridge

공개 메소드들

메소드 설명
AddDataIfNotEmpty ( string>.this dictionary, System.Xml.Linq.XDocument document, string elementName ) : void

Adds the value from an XDocument with the specified element name if it's not empty.

AddItemIfNotEmpty ( string>.this dictionary, string key, string value ) : void

Adds a key/value pair to the specified dictionary if the value is not null or empty.

메소드 상세

AddDataIfNotEmpty() 공개 정적인 메소드

Adds the value from an XDocument with the specified element name if it's not empty.
public static AddDataIfNotEmpty ( string>.this dictionary, System.Xml.Linq.XDocument document, string elementName ) : void
dictionary string>.this /// The dictionary. ///
document System.Xml.Linq.XDocument /// The document. ///
elementName string /// Name of the element. ///
리턴 void

AddItemIfNotEmpty() 공개 정적인 메소드

Adds a key/value pair to the specified dictionary if the value is not null or empty.
public static AddItemIfNotEmpty ( string>.this dictionary, string key, string value ) : void
dictionary string>.this /// The dictionary. ///
key string /// The key. ///
value string /// The value. ///
리턴 void