# HG changeset patch # User IBBoard # Date 1342036313 -3600 # Node ID aa0d18816cf84033a4ac01ea473e4ee7b511647f # Parent 4d6c927442540f1fe643338701ae60ab563c2b43 Re #419: Remove assumptions of a file-based install * Remove unused FileInfo object property diff -r 4d6c92744254 -r aa0d18816cf8 API/Objects/WarFoundryStagedLoadingObject.cs --- a/API/Objects/WarFoundryStagedLoadingObject.cs Wed Jul 11 20:39:34 2012 +0100 +++ b/API/Objects/WarFoundryStagedLoadingObject.cs Wed Jul 11 20:51:53 2012 +0100 @@ -13,7 +13,6 @@ private bool isFullyLoaded; private bool isLoading; private IWarFoundryFactory creatingFactory; - private FileInfo sourceFile; protected WarFoundryStagedLoadingObject(IWarFoundryFactory creatingFactory) : this (null, creatingFactory) { @@ -27,21 +26,15 @@ { this.creatingFactory = creatingFactory; isFullyLoaded = false; - } - - public FileInfo SourceFile - { - get { return sourceFile; } - set { sourceFile = value; } } - public void EnsureFullyLoaded () + public void EnsureFullyLoaded() { if (!IsFullyLoaded && !IsLoading) { if (Factory == null) { - throw new InvalidOperationException("No factory set for partially loaded object with ID "+ID); + throw new InvalidOperationException("No factory set for partially loaded object with ID " + ID); } Factory.CompleteLoading(this);