Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public CimKeyBinding(CimName name, CimKeyValue keyValue)
     : this(name)
 {
     Value = keyValue;
 }