4public class ModItem<T> where T : Object
26 Set(_fileInfo, path, desiredID);
29 public void Set(FileInfo _fileInfo,
string path,
string desiredID =
null)
31 if (_fileInfo !=
null)
36 id = desiredID ?? Path.GetFileNameWithoutExtension((
fileInfo !=
null) ? fileInfo.Name : path);
37 if (
list !=
null &&
list.catLength > 0)
71 Object.DestroyImmediate(
cache);
void Set(FileInfo _fileInfo, string path, string desiredID=null)
T GetObject(object option=null)
ModItem(FileInfo _fileInfo, string path=null, ModItemList< T > _list=null, string desiredID=null)