Search Results for

    Show / Hide Table of Contents

    Interface IObjectResolver

    Will provide an implementation that will be used to create objects based on the plugin manifest file

    Namespace: Sdl.Core.PluginFramework
    Assembly: Sdl.Core.PluginFramework.dll
    Syntax
    public interface IObjectResolver

    Methods

    CanResolve(Type)

    Based on the object type will return true of false based on the fact that it can resolve the object or not

    Declaration
    bool CanResolve(Type objectType)
    Parameters
    Type Name Description
    Type objectType
    Returns
    Type Description
    bool

    CreateObject(Type, XElement)

    Create the object

    Declaration
    object CreateObject(Type objectType, XElement attributeElement = null)
    Parameters
    Type Name Description
    Type objectType

    Object type

    XElement attributeElement

    Attribute from the PluginManifest file

    Returns
    Type Description
    object
    In this article
    • Methods
      • CanResolve(Type)
      • CreateObject(Type, XElement)
    Back to top Generated by DocFX