• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ComponentBase<TContract, TType>

A base class for a Dnn component.

Inheritance
System.Object
ComponentBase<TContract, TType>
PathUtils
ContentWorkflowController
HostController
IPFilterController
DataService
TestablePortalSettings
PortalGroupController
AssetManager
FileContentTypeManager
FileManager
FileVersionController
FolderManager
FolderMappingController
DirectoryWrapper
FileWrapper
LocaleController
LocalizationProvider
Namespace: DotNetNuke.ComponentModel
Assembly: DotNetNuke.dll
Syntax
public abstract class ComponentBase<TContract, TType> : object where TType : class, TContract
Type Parameters
Name Description
TContract

The contract type.

TType

The component type.

Properties

| Improve this Doc View Source

Instance

Gets an instance of the Component.

Declaration
public static TContract Instance { get; }
Property Value
Type Description
TContract

Methods

| Improve this Doc View Source

RegisterInstance(TContract)

Registers an instance of a component.

Declaration
public static void RegisterInstance(TContract instance)
Parameters
Type Name Description
TContract instance

The instance to register.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS