C# 클래스 FiftyOne.Foundation.Mobile.Configuration.LocationsCollection

A collection of LocationElement objects. This class cannot be inherited.
상속: System.Configuration.ConfigurationElementCollection
파일 보기 프로젝트 열기: 51Degrees/dotNET-Device-Detection

보호된 메소드들

메소드 설명
CreateNewElement ( ) : ConfigurationElement

Creates a new LocationElement for the collection

GetElementKey ( ConfigurationElement element ) : object

Get the element key. Check for empty strings and return null to avoid a problem with the defaultvalue property of the key element becoming an empty string and causing a duplicate key exception within .NET.

비공개 메소드들

메소드 설명
Add ( LocationElement element ) : void

Adds a new element to the collection.

Clear ( ) : void

Removes all elements from the configuration.

메소드 상세

CreateNewElement() 보호된 메소드

Creates a new LocationElement for the collection
protected CreateNewElement ( ) : ConfigurationElement
리턴 System.Configuration.ConfigurationElement

GetElementKey() 보호된 메소드

Get the element key. Check for empty strings and return null to avoid a problem with the defaultvalue property of the key element becoming an empty string and causing a duplicate key exception within .NET.
protected GetElementKey ( ConfigurationElement element ) : object
element System.Configuration.ConfigurationElement
리턴 object