PluginService.GetContentType Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

GetContentType(Guid) Gets content type metadata from the repository.
GetContentType() Gets content type metadata from the repository.

GetContentType(Guid)

Gets content type metadata from the repository.

public static IPlugin GetContentType(Guid id)

Parameters

id
System.Guid

Returns

IPlugin

Returns an object implementing the IPlugin interface.

GetContentType()

Gets content type metadata from the repository.

public static IPlugin GetContentType<TContent>()

    where TContent : Content

Returns

IPlugin

Returns an object implementing the IPlugin interface.