コード例 #1
0
        public void AddToCollection(object value)
        {
            IList list = Accessors.Getter(Element.Object) as IList;

            if (list == null)
            {
                throw Parser.ParseException("Attempt to add attached property to empty list.");
            }

            list.Add(value);
        }
コード例 #2
0
 public object GetValue()
 {
     return(accessors.Getter(Target));
 }