Beispiel #1
0
        public static ItemValidationBase CreateNewIssue(RepositoryItemBase rItem)
        {
            ItemValidationBase ITB = new ItemValidationBase();

            ITB.UsageItem = rItem;
            ITB.ItemName  = rItem.ItemName;
            // TODO: remove me and use RepositoryItemBase
            //ITB.ItemClass = RepositoryItem.GetShortType(rItem.GetType());
            ITB.ItemClass = rItem.GetItemType();

            return(ITB);
        }
Beispiel #2
0
 public string FileExt(RepositoryItemBase repositoryItemBase)
 {
     // making it old Ginger style so BF and env can load again... temp
     return("Ginger." + repositoryItemBase.GetItemType());
 }