Class ExtensionsFactory
Inheritance
System.Object
ExtensionsFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Core.PluginFramework.Integration
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public sealed class ExtensionsFactory
Constructors
ExtensionsFactory()
Declaration
public ExtensionsFactory()
Methods
Create<TResult>(IExtension, ExtensionArguments, Boolean)
Declaration
public static TResult Create<TResult>(IExtension extension, ExtensionArguments arguments = null, bool useCache = true)
where TResult : class
Parameters
Type | Name | Description |
---|---|---|
IExtension | extension | |
ExtensionArguments | arguments | |
System.Boolean | useCache |
Returns
Type | Description |
---|---|
TResult |
Type Parameters
Name | Description |
---|---|
TResult |
Create<TAttribute, TResult>(ExtensionArguments, Boolean)
Declaration
public static IEnumerable<TResult> Create<TAttribute, TResult>(ExtensionArguments arguments = null, bool useCache = true)
where TAttribute : ExtensionAttribute where TResult : class
Parameters
Type | Name | Description |
---|---|---|
ExtensionArguments | arguments | |
System.Boolean | useCache |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TResult> |
Type Parameters
Name | Description |
---|---|
TAttribute | |
TResult |