Show / Hide Table of Contents

Class HarmonizingCache

Container for items to be harmonized

Inheritance
object
HarmonizingCache
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi.Utility
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class HarmonizingCache

Constructors

HarmonizingCache(string)

Create a harmonization container

Declaration
public HarmonizingCache(string culture)
Parameters
Type Name Description
string culture

culture code to use by default

Methods

AddCodeScheme(CodeList)

Add a code list

Declaration
public void AddCodeScheme(CodeList codeScheme)
Parameters
Type Name Description
CodeList codeScheme

Code List

AddVariable(Variable)

Add a variable

Declaration
public void AddVariable(Variable variable)
Parameters
Type Name Description
Variable variable

Variable

TryGetExistingCodeScheme(CodeList, out CodeList)

Attempts to find an equivalent, matching CodeList in the cache.

Declaration
public bool TryGetExistingCodeScheme(CodeList codeScheme, out CodeList existingCodeScheme)
Parameters
Type Name Description
CodeList codeScheme

The CodeList to find a match for.

CodeList existingCodeScheme

The existing, matching CodeList, if a match is found.

Returns
Type Description
bool

True if a matching CodeList is found and returned; otherwise false.

TryGetExistingVariable(Variable, out Variable)

Attempts to find an equivalent, matching Variable in the cache.

Declaration
public bool TryGetExistingVariable(Variable variable, out Variable existingVariable)
Parameters
Type Name Description
Variable variable

The Variable to find a match for.

Variable existingVariable

The existing, matching Variable, if a match is found.

Returns
Type Description
bool

True if a matching Variable is found and returned; otherwise false.

In this article
Back to top Generated by DocFX