Example #1
0
        protected internal GoogleAddThisButtonItem CloneAddThisButtonItem()
        {
            GoogleAddThisButtonItem newAddThisButtonItem = this.CreateAddThisButtonItem();

            this.CopyProperties(newAddThisButtonItem);
            return(newAddThisButtonItem);
        }
Example #2
0
 protected void CopyProperties(GoogleAddThisButtonItem newAddThisButtonItem)
 {
     ((GoogleAddThisButtonItem)newAddThisButtonItem).Service = this.Service;
     ((GoogleAddThisButtonItem)newAddThisButtonItem).Count   = this.Count;
     ((GoogleAddThisButtonItem)newAddThisButtonItem).Size    = this.Size;
 }