Search Results for

    Show / Hide Table of Contents

    Class SpecializationService

    Defines the specialization service implementation.

    Inheritance
    System.Object
    SpecializationService
    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: 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

    true if SpecializationService is initialized; otherwise, false.

    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 true shows warning in case of any error while creating instance.

    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 true shows warning in case of any error while creating instance.

    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.

    Extension Methods

    UtilityExtensions.DeepClone<T>(T)
    UtilityExtensions.IsMethodImplemented(Object, String)
    UtilityExtensions.LogError(Object, String)
    UtilityExtensions.ShowAndLogError(Object)
    UtilityExtensions.ShowAndLogError(Object, Window)
    UtilityExtensions.ShowAndLogError(Object, String, Window, String, String)
    UtilityExtensions.GetJsonValue<T>(Object, String, Boolean)
    UtilityExtensions.ToAssetInfo(Object, Nullable<Boolean>)
    In This Article
    Back to top © 2022 Quark Software Inc. All rights reserved.