Search Results for

    Show / Hide Table of Contents
    View Source

    Class SchemaIdHandler

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Api.Common.OpenApi
    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
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CanHandle(Type)
      • Handle(Type)
      • UmbracoSchemaId(Type)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX