Click or drag to resize

ActionTextConditionForTemplate Class

Represents an action that conditionally copies project items to a target folder based on a specified condition. The action checks if a property in the property bag matches the specified condition value, and if it does, the associated project items are copied to the target folder.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.NamePropertyExtractionActionTextConditionForTemplate

Namespace: Altaxo.Serialization.NamePropertyExtraction
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public class ActionTextConditionForTemplate : IActionConditionForTemplate, 
	IActionOnProperty, IImmutable, IEquatable<ActionTextConditionForTemplate>

The ActionTextConditionForTemplate type exposes the following members.

Constructors
 NameDescription
Public methodActionTextConditionForTemplateInitializes a new instance of the ActionTextConditionForTemplate class
Top
Properties
 NameDescription
Public propertyCondition Gets or sets the condition value that must be met for the action to be executed. If the property matches the condition value, the ProjectItemsUsedAsTemplate will be copied to the target folder.
Public propertyConditionComparisonKind Designates how to compare the property value to the Condition.
Public propertyDescription Gets or sets the description of the action.
Public propertyIsConditionCaseSensitive Gets or sets a value indicating whether the condition check should be case-sensitive.
Public propertyOverwriteProjectItems Gets or sets a value indicating whether existing items in the target folder should be overridden when copying the project items.
Public propertyProjectItemsUsedAsTemplate List of project items to be copied to the target folder if the condition is met.
Public propertyPropertyName Gets or sets the name of the property to be put into the property bag.
Top
Methods
 NameDescription
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMatches Evaluates whether the specified properties match the condition defined by this action. The condition is based on the property name and value specified in the action. If a property with the same name exists in the provided properties and its value matches the condition, the method returns true; otherwise, it returns false.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Top
See Also