public static int?GetMinutesUntilReady(CustomCloner customCloner, Object clonable) { if (customCloner.CloningDataId.ContainsKey(clonable.ParentSheetIndex)) { return(customCloner.CloningDataId[clonable.ParentSheetIndex]); } else if (customCloner.CloningDataId.ContainsKey(clonable.Category)) { return(customCloner.CloningDataId[clonable.Category]); } return(null); }
public static void SetCloner(CustomCloner cloner) { ClonerData[cloner.Name] = cloner; }