View Source
Class SchemaIdHandler
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Common.dll
Syntax
public class SchemaIdHandler : ISchemaIdHandler
Methods
View Source
CanHandle(Type)
Declaration
public virtual bool CanHandle(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Handle(Type)
Declaration
public virtual string Handle(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
System.String |
|
View Source
UmbracoSchemaId(Type)
Generates a sanitized and consistent schema identifier for a given type following Umbraco's schema id naming conventions.
Declaration
protected string UmbracoSchemaId(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
System.String |
|