Class SpecializationService
Defines the specialization service implementation.
Inheritance
Inherited Members
Namespace: Quark.CMSAdapters.Core
Assembly: Quark.CMSAdapters.Core.dll
Syntax
public class SpecializationService
Properties
ComponentParser
Gets the component parser.
Declaration
public IComponentParser ComponentParser { get; }
Property Value
Type | Description |
---|---|
IComponentParser | The component parser. |
ConfigurationManager
Gets the configuration manager.
Declaration
public IConfigurationManager ConfigurationManager { get; }
Property Value
Type | Description |
---|---|
IConfigurationManager | The configuration manager. |
ContentManager
Gets the content manager.
Declaration
public IContentManager ContentManager { get; }
Property Value
Type | Description |
---|---|
IContentManager | The content manager. |
IsInitialized
Gets a value indicating whether SpecializationService is initialized.
Declaration
public static bool IsInitialized { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
XMLProcessor
Gets the XML processor.
Declaration
public IXMLProcessor XMLProcessor { get; }
Property Value
Type | Description |
---|---|
IXMLProcessor | The XML processor. |
Methods
CreateAllInstances<T>(String, Configuration, Boolean)
Creates all instances present in the assemblies specified by configuration key.
Declaration
public List<T> CreateAllInstances<T>(string key, Configuration configuration, bool showWarning)
where T : class
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The configuration key for assembly names. |
System.Configuration.Configuration | configuration | The configuration. |
System.Boolean | showWarning | if set to |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<T> |
Type Parameters
Name | Description |
---|---|
T |
Exceptions
Type | Condition |
---|---|
System.Exception | Implementation not found. |
System.Exception | Implementation not found. |
CreateAllInstances<T>(String, Configuration, Char, Char, Boolean)
Creates all instances present in the assemblies specified by configuration key.
Declaration
public List<T> CreateAllInstances<T>(string key, Configuration configuration, char assemblyNameSeparator = ',', char classNameSeparator = ';', bool showWarning = true)
where T : class
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The configuration key for assembly names. |
System.Configuration.Configuration | configuration | The configuration. |
System.Char | assemblyNameSeparator | The assembly name separator. |
System.Char | classNameSeparator | The class name separator. |
System.Boolean | showWarning | if set to |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<T> |
Type Parameters
Name | Description |
---|---|
T |
Exceptions
Type | Condition |
---|---|
System.Exception | Implementation not found. |
System.Exception | Implementation not found. |
GetInstance()
Gets the instance.
Declaration
public static SpecializationService GetInstance()
Returns
Type | Description |
---|---|
SpecializationService | The specialization service instance. |