Created
September 9, 2019 15:39
-
-
Save epperson/806cde8ba01ec44e06efcd9cb2c186d0 to your computer and use it in GitHub Desktop.
Extension method for adding content to an instance of a DocumentSearchEventArgs (Kentico)
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 CMS.DocumentEngine; | |
namespace Example.Linq | |
{ | |
public static class DocumentSearchEventArgsExtensions | |
{ | |
public static void AddContent(this DocumentSearchEventArgs searchEventArgs, string content) | |
{ | |
searchEventArgs.Content += $" {content}"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment