Attaches a YetaWFManager instance to the current thread. For internal framework use only. This is only used by console applications.
Class: YetaWF.Core.Support.YetaWFManager
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core
public static YetaWFManager MakeInitialThreadInstance( SiteDefinition? site ); public static YetaWFManager MakeInitialThreadInstance( SiteDefinition? site, HttpContext? context, bool forceSync = false );
site
Defines the site associated with the Manager instance.
context
The HttpContext instance for the current request. If null is specified, local thread storage is used instead of attaching the Manager instance to the HttpRequest.
forceSync
Specify true to force synchronous requests, otherwise async requests are used.
The Manager instance for the current request.
See Also YetaWF.Core.Support.YetaWFManager ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com