Exemplo n.º 1
0
        public override void ResetValue(object component)
        {
            ScriptMemberExpressionContainer container
                = ScriptMemberExpressionContainer.GetContainer(component);

            if (container != null)
            {
                container.SetScript(myProperty.Name, null);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Clone instance
        /// </summary>
        /// <returns>instance</returns>
        object ICloneable.Clone()
        {
            ScriptMemberExpressionContainer list = new ScriptMemberExpressionContainer();

            foreach (ScriptMemberExpression item in this)
            {
                list.List.Add(item.Clone());
            }
            return(list);
        }
Exemplo n.º 3
0
        public override object GetValue(object component)
        {
            ScriptMemberExpressionContainer container
                = ScriptMemberExpressionContainer.GetContainer(component);

            if (container == null)
            {
                return(null);
            }
            else
            {
                return(container.GetScript(myProperty.Name));
            }
        }