コード例 #1
0
        // Add a new attribute to the set
        public void Add(SteAttributeKey key, object attribute)
        {
            if (!_permutationBase.TryGetValue(key, out ArrayList targetList))
            {
                targetList = new ArrayList();
                _permutationBase.Add(key, targetList);
            }

            targetList.Add(attribute);
        }
コード例 #2
0
ファイル: SteAttribute.cs プロジェクト: yyjdelete/SqlClient
 public SteAttribute(SteAttributeKey key, object value)
 {
     _key   = key;
     _value = value;
 }