Skip to content

Instantly share code, notes, and snippets.

@5up3rman
Created July 13, 2017 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 5up3rman/23bee2abdc9814065f7232942280ec48 to your computer and use it in GitHub Desktop.
Save 5up3rman/23bee2abdc9814065f7232942280ec48 to your computer and use it in GitHub Desktop.
Assign Page Assets To Control
namespace EditorEnhancementToolkit.Foundation.ContentEditor.Pipelines.RenderPageAssets
{
public class AssignPageAssetsToControl : RenderAssetsProcessor
{
public override void Process(RenderPageAssetsArgs args)
{
args.Control = new RenderAssetsControl
{
StylesheetList = args.FilePaths
};
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment