예제 #1
0
        /// <summary>
        /// Converts the property to a CimKeyBinding
        /// </summary>
        /// <returns></returns>
        public CimKeyBinding ToCimKeyBinding()
        {
            CimKeyValue tmpCKV = new CimKeyValue();
            tmpCKV.ValueType = "string";
            tmpCKV.Value = this.Value;

            return new CimKeyBinding(this.Name, tmpCKV);
        }
예제 #2
0
 public CimKeyBinding(CimName name, CimKeyValue keyValue)
     : this(name)
 {
     Value = keyValue;
 }