Fixed: default kept state between compilations
I know having a property return an instance every call is not a good design. I get it.
This commit is contained in:
parent
8246538bbb
commit
5292b55078
1 changed files with 1 additions and 7 deletions
|
@ -5,14 +5,8 @@ using System.Linq;
|
||||||
|
|
||||||
namespace arookas {
|
namespace arookas {
|
||||||
public abstract class sunImportResolver {
|
public abstract class sunImportResolver {
|
||||||
static sunImportResolver sDefaultResolver;
|
|
||||||
|
|
||||||
public static sunImportResolver Default {
|
public static sunImportResolver Default {
|
||||||
get { return sDefaultResolver; }
|
get { return new sunDefaultImportResolver(); }
|
||||||
}
|
|
||||||
|
|
||||||
static sunImportResolver() {
|
|
||||||
sDefaultResolver = new sunDefaultImportResolver();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract void EnterFile(sunScriptFile file);
|
public abstract void EnterFile(sunScriptFile file);
|
||||||
|
|
Loading…
Add table
Reference in a new issue