コード例 #1
0
 /// <summary>
 /// This checks if the item being added is of a template type that will be bucketed and
 /// if the creation destination is a bucket item itself
 /// </summary>
 /// <returns>True if it can be added. False if it cannot.</returns>
 private bool CanAddToBucket()
 {
     return(BucketManager.IsTemplateBucketable(this.TemplateId, this.Database) && BucketManager.IsBucket(this.Destination));
 }