make forcing evaluation of lazyness explicit

This commit is contained in:
Chris Forbes
2011-03-07 19:53:39 +13:00
parent ae58da10bf
commit 7cf07f5765
2 changed files with 18 additions and 13 deletions

View File

@@ -36,7 +36,12 @@ namespace OpenRA.FileFormats
p = null;
return value;
}
}
}
public void Force()
{
var ignored = Value;
}
}
public static class Lazy