public FSOBase(IElement[] elementsIn) { if (elementsIn.Length > 0) { type = (FSOType)elementsIn[0].HeldElement; if (elementsIn.Length > 1) { path = elementsIn[1].HeldElement as string; if (elementsIn.Length > 2) { lastModified = (DateTime)elementsIn[2].HeldElement; if (elementsIn.Length > 3) { hash = elementsIn[3].HeldElement as string; if (elementsIn.Length > 4) { size = (Int64)elementsIn[4].HeldElement; } } } } } }
public FSOFile(String filePathIn, FSOType filTyp) : base(filePathIn, filTyp) { }
public FSODirectory(String dirPathIn, FSOType dirTyp) : base(dirPathIn, dirTyp) { }
public FSOBase(String pathIn, FSOType typeIn) { path = pathIn; type = typeIn; }
public FSOTypeElement(FSOType dataIn) : base(dataIn) { }