コード例 #1
0
        public override bool ContainsKey(string name)
        {
            // This line needed because of the IBindingSection implementation
            StandardBindingCollectionElement <TStandardBinding, TBindingConfiguration> me = (StandardBindingCollectionElement <TStandardBinding, TBindingConfiguration>) this;

#pragma warning suppress 56506 //[....]; me.Bindings can never be null (underlying configuration system guarantees)
            return(me.Bindings.ContainsKey(name));
        }
        public override bool ContainsKey(string name)
        {
            // This line needed because of the IBindingSection implementation
            StandardBindingCollectionElement <TStandardBinding, TBindingConfiguration> me = (StandardBindingCollectionElement <TStandardBinding, TBindingConfiguration>) this;

            return(me.Bindings.ContainsKey(name));
        }