HomeExtensionsOnHomeToPath Field |
Namespace: SOWIWeb.Foundation
Adds event handler for a custom view path setting
//* add event handler for a custom view path setting * SOWIWeb.Foundation.HomeExtensions.OnHomeToPath += this.HomeToPath;
/// <summary> /// Custom Home default view path /// </summary> /// <param name="sender">null object because it's static declaration</param> /// <param name="e">Has view name and view path</param> private void HomeToPath(object sender, SOWIWeb.Foundation.EventArgsViewToPathEnum<SOWIWeb.Foundation.Home> e) { switch (e.View) { case Home.none: break; default: break; } }