Created
July 13, 2017 18:12
-
-
Save 5up3rman/23bee2abdc9814065f7232942280ec48 to your computer and use it in GitHub Desktop.
Assign Page Assets To Control
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 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