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); }
public object GetValue() { return(accessors.Getter(Target)); }