Click or drag to resize

CodeGenerationCycleCache Class

Simple cache which is used to store runqueue caches per container name during code generation. It also contains a separate cache for values which are cached by the code generation operating code and which values have to stay alive across code generation cycles. Thread safe: only one thread can read/write to the object, if it uses the methods provided by this class.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaDataCodeGenerationCycleCache

Namespace:  SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public class CodeGenerationCycleCache

The CodeGenerationCycleCache type exposes the following members.

Constructors
  NameDescription
Public methodCodeGenerationCycleCache
Initializes a new instance of the CodeGenerationCycleCache class
Top
Properties
  NameDescription
Public propertyProjectName
Gets or sets the name of the project, which is the name used when the groupname specified for value retrieval isn't found as a valid key for a stored runqueue cache.
Top
Methods
  NameDescription
Public methodAddRunQueueCache
Adds the values of the specified runqueue cache to this cache under the key specified. If a cache with that key already exists, the values are merged into that stored cache, overwriting values with the same key in that cache.
Public methodAddValueToCrossCycleCache
Adds the value specified to the cross cycle cache under the key specified.
Public methodCacheVsNetProjectReferenceForId
Caches the vs net project reference for the FrameworkUsingModelType value specified.
Public methodDetermineIfCycleTaskHasBeenCompleted
Determines if the cycle task with the sourcename specified has been completed. This is stored in the cross cycle cache.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCachedVsNetProjectReferencesForId
Gets the cached vs net project references for the FrameworkUsingModelType value specified. The value specified is originating from the preset.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValueFromCache
Gets the value from the cache with the key runQueueKey, stored there under the key valueKey.
Public methodGetValueFromCrossCycleCache
Gets the value stored under the key specified from the cross cycle cache. If the value isn't found, null is returned.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPopVsNetProjectReferencePerIdCache
Pops the vs net project reference per identifier cache from the stack
Public methodPushVsNetProjectReferencePerIdCache
Pushes the vs net project reference per identifier cache on the stack.
Public methodStoreCycleTaskSourceNameAsCompleted
Stores the cycle task source name as completed to the cross cycle cache.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also