Created
March 19, 2019 11:56
-
-
Save vtml/3817c2b4dc70f1513c18e0c2b5dfc268 to your computer and use it in GitHub Desktop.
Sitecore Super Power Friendly Dependency Injection
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 interface ISomeService | |
{ | |
void Run(IGlassBase glassBase); | |
} | |
public class SomeService : ISomeService | |
{ | |
public Run(IGlassBase glassBase) | |
{ | |
// do something | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment