comparison Source/Configuration/DataProviderElementCollection.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2 using System.Configuration;
3
4 namespace BLToolkit.Configuration
5 {
6 [ConfigurationCollection(typeof(DataProviderElement))]
7 internal class DataProviderElementCollection : ElementCollectionBase<DataProviderElement>
8 {
9 protected override object GetElementKey(DataProviderElement element)
10 {
11 // element.Name is optional and may be omitted.
12 // element.TypeName is required, but is not unique.
13 //
14 return string.Concat(element.Name, "/", element.TypeName);
15 }
16 }
17 }