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
{ | |
"scripts": [], | |
"styles": [] | |
} |
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
{ | |
"scripts": [], | |
"styles": [] | |
} |
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
{ | |
"scripts": [], | |
"styles": [] | |
} |
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
namespace Website.Pipelines | |
{ | |
public class AddTitle : GetRendererProcessor | |
{ | |
public override void Process(GetRendererArgs args) | |
{ | |
.... | |
args.Result = new WrapperViewRenderer(args.Result) | |
{ |
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
var service = PhantomJSDriverService.CreateDefaultService(); | |
service.HideCommandPromptWindow = false; | |
var driver = new PhantomJSDriver(service); | |
driver.Navigate().GoToUrl("http://www.google.com"); |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Semver; | |
namespace CustomPackageProvider | |
{ | |
public class CustomPackageProvider | |
{ | |
public const string ProviderName = "CustomProvider"; |
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 class CustomPackageProvider | |
{ | |
public string GetProviderName(Func<string, IEnumerable<object>, object> c) | |
public bool FindPackage(string name, string requiredVersion, string minimumVersion, string maximumVersion, Func<string, IEnumerable<object>, object> c) | |
public bool InstallPackageByFastpath(string fastPath, Func<string, IEnumerable<object>, object> c) | |
public bool GetInstalledPackages(string name, Func<string, IEnumerable<object>, object> c) | |
public bool UninstallPackage(string fastPath, Func<string, IEnumerable<object>, object> c) | |
public bool InstallPackageByFile(string filePath, Func<string, IEnumerable<object>, object> c) | |
public bool FindPackageByFile(string filePath, Func<string, IEnumerable<object>, object> c) | |
public void GetMetadataDefinitions(Func<string, IEnumerable<object>, object> c) |
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 class CustomPlugin | |
{ | |
public string PluginName { get; } | |
public IEnumerable<string> PackageProviderNames { get; } | |
public void InitPlugin(Func<string, IEnumerable<object>, object> c) | |
public object CreatePackageProvider(string name) |