Show / Hide Table of Contents

Class HarmonizingCache

Container for items to be harmonized

Inheritance
System.Object
HarmonizingCache
Namespace: Algenta.Colectica.Model.Ddi.Utility
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class HarmonizingCache : object

Constructors

HarmonizingCache(String)

Create a harmonization container

Declaration
public HarmonizingCache(string culture)
Parameters
Type Name Description
System.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
System.Boolean

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
System.Boolean

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

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica