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
{ | |
"Ansi 6 Color" : { | |
"Green Component" : 0.570823609828949, | |
"Blue Component" : 0.5250227451324463, | |
"Red Component" : 0.1467953473329544 | |
}, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { |
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
var x = function () { | |
alert("working"); | |
}; |
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 abstract class SuperPlugin : IPlugin{ | |
private static Lazy<IDependencyResolver> DependencyResolverTrunk = new Lazy<IDependencyResolver>(ResolverFactory); | |
public void Execute(IServiceProvider serviceProvider){ | |
// initialize a static container instance if not available | |
var containerWrapper = new ContainerWrapper{ | |
Container = serviceProvider.GetService(typeof(IPluginExecutionContext)), | |
Resolver = DependencyResolverTrunk.Value | |
}; | |
OnExecution(containerWrapper); |
NewerOlder