Created
September 22, 2010 19:46
-
-
Save jmarnold/592388 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void AddAsset(Action<IAddAssetExpression> configure) | |
{ | |
var assetBuilder = new AssetBuilder(this); | |
configure(expression); | |
_assets.add(assetBuilder.Build()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where IAddAssetExpression could expose a way of describing a way of looking up the asset family. Granted, the situations I've encountered require a lookup each time so the interface was a lot more intuitive.