Last active
January 20, 2016 21:02
-
-
Save chamook/7eca4df4dd5852aeab49 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 static class FunctionContainer | |
| { | |
| public static string SomeStringFunction(string input) => "So, gosh-darned creative:" + input; | |
| } | |
| public static class Injector | |
| { | |
| public static SomeClassWithADependency GetTheThing() => | |
| new SomeClassWithADependency(FunctionContainer.SomeStringFunction.ToFSharpFunc()); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment