Class DefaultObjectResolver
Default object resolver for plugin framework
Inheritance
System.Object
DefaultObjectResolver
Implements
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public class DefaultObjectResolver : Object, IObjectResolver
Constructors
DefaultObjectResolver()
Declaration
public DefaultObjectResolver()
Methods
CanResolve(Type)
Returns true if the object resolver can create the object based on the type of that object
Declaration
public bool CanResolve(Type objectType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | objectType |
Returns
Type | Description |
---|---|
System.Boolean |
CreateObject(Type, XElement)
Declaration
public object CreateObject(Type objectType, XElement attributeElement = null)
Parameters
Type | Name | Description |
---|---|---|
System.Type | objectType | |
System.Xml.Linq.XElement | attributeElement |
Returns
Type | Description |
---|---|
System.Object |