November Happy Hour will be moved to Thursday December 5th.

Class ControlPathResolver

Inheritance
System.Object
ControlPathResolver
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: Mediachase.BusinessFoundation.Core
Assembly: Mediachase.BusinessFoundation.dll
Version: 12.17.2
Syntax
public class ControlPathResolver

Constructors

ControlPathResolver()

Initializes a new instance of the ControlPathResolver class.

Declaration
public ControlPathResolver()

ControlPathResolver(String)

Initializes a new instance of the ControlPathResolver class.

Declaration
public ControlPathResolver(string VirtualFolderPath)
Parameters
Type Name Description
System.String VirtualFolderPath

The virtual folder path.

Properties

Current

Gets or sets the current.

Declaration
public static ControlPathResolver Current { get; set; }
Property Value
Type Description
ControlPathResolver

The current.

InnerCache

Declaration
protected Dictionary<string, List<ControlPathResolver.CacheItem>> InnerCache { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<ControlPathResolver.CacheItem>>

InnerOutputCache

Declaration
protected Dictionary<string, ResolvedPath> InnerOutputCache { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, ResolvedPath>

Methods

Init(String[])

Inits the specified control folder path.

Declaration
public void Init(params string[] virtualFolders)
Parameters
Type Name Description
System.String[] virtualFolders

The virtual folders.

Resolve(String, String, String, String, String)

Resolves the specified meta type name.

Declaration
public ResolvedPath Resolve(string MetaTypeName, string Mode, string MetaClassName, string MetaFieldName, string Place)
Parameters
Type Name Description
System.String MetaTypeName

Name of the meta type.

System.String Mode

The mode.

System.String MetaClassName

Name of the meta class.

System.String MetaFieldName

Name of the meta field.

System.String Place

The place.

Returns
Type Description
ResolvedPath

Resolve(String, String, String, String, String, String)

Resolves the specified meta type name.

Declaration
public ResolvedPath Resolve(string MetaTypeName, string Mode, string MetaClassName, string MetaFieldName, string Place, string Locale)
Parameters
Type Name Description
System.String MetaTypeName

Name of the meta type.

System.String Mode

The mode.

System.String MetaClassName

Name of the meta class.

System.String MetaFieldName

Name of the meta field.

System.String Place

The place.

System.String Locale

The locale.

Returns
Type Description
ResolvedPath

ResolveAll(String, String, String, String, String)

Resolves all.

Declaration
public ResolvedPath[] ResolveAll(string MetaTypeName, string Mode, string MetaClassName, string MetaFieldName, string Place)
Parameters
Type Name Description
System.String MetaTypeName

Name of the meta type.

System.String Mode

The mode.

System.String MetaClassName

Name of the meta class.

System.String MetaFieldName

Name of the meta field.

System.String Place

The place.

Returns
Type Description
ResolvedPath[]

ResolveAll(String, String, String, String, String, String)

Resolves all.

Declaration
public ResolvedPath[] ResolveAll(string MetaTypeName, string Mode, string MetaClassName, string MetaFieldName, string Place, string Locale)
Parameters
Type Name Description
System.String MetaTypeName

Name of the meta type.

System.String Mode

The mode.

System.String MetaClassName

Name of the meta class.

System.String MetaFieldName

Name of the meta field.

System.String Place

The place.

System.String Locale

The locale.

Returns
Type Description
ResolvedPath[]

ResolveByName(String, String, String, String, String, String)

Declaration
public ResolvedPath ResolveByName(string MetaTypeName, string Mode, string MetaClassName, string MetaFieldName, string Place, string ResolvedPathName)
Parameters
Type Name Description
System.String MetaTypeName
System.String Mode
System.String MetaClassName
System.String MetaFieldName
System.String Place
System.String ResolvedPathName
Returns
Type Description
ResolvedPath

ResolveStrong(String, String, String, String, String)

Declaration
public ResolvedPath ResolveStrong(string MetaTypeName, string Mode, string MetaClassName, string MetaFieldName, string Place)
Parameters
Type Name Description
System.String MetaTypeName
System.String Mode
System.String MetaClassName
System.String MetaFieldName
System.String Place
Returns
Type Description
ResolvedPath

ResolveStrong(String, String, String, String, String, String)

Declaration
public ResolvedPath ResolveStrong(string MetaTypeName, string Mode, string MetaClassName, string MetaFieldName, string Place, string Locale)
Parameters
Type Name Description
System.String MetaTypeName
System.String Mode
System.String MetaClassName
System.String MetaFieldName
System.String Place
System.String Locale
Returns
Type Description
ResolvedPath