internal void UpdateFileLoadStatus(XmlFileInfo file, XmlFileLoadState state) { Contract.Requires(file != null); lock (XmlFileLoadStatus) XmlFileLoadStatus[file] = state; var handler = XmlFileLoadStateChanged; if (handler != null) { var args = new XmlFileLoadStateChangedArgs(file, state); handler(this, args); } }
public XmlFileLoadStateChangedArgs(XmlFileInfo xmlFile, XmlFileLoadState newState) { XmlFile = xmlFile; NewState = newState; }