Created
July 20, 2015 12:54
-
-
Save jonathanread/f8d7442843f03c059463 to your computer and use it in GitHub Desktop.
This file contains 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 string GetCurrentProvider(string moduleName) | |
{ | |
var multisiteContext = SystemManager.CurrentContext as MultisiteContext; | |
return multisiteContext.CurrentSite.GetProviders(moduleName).Select(p => p.ProviderName).FirstOrDefault(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment