Class InheritanceOverrides
- Namespace
- MoonBark.GridPlacement.Core.Types
- Assembly
- MoonBark.GridPlacement.Core.dll
Configuration for inheritance overrides
public class InheritanceOverrides
- Inheritance
-
InheritanceOverrides
- Inherited Members
Constructors
InheritanceOverrides()
Initializes a new instance of the InheritanceOverrides class.
public InheritanceOverrides()
Properties
CategoryStrategies
Category-specific merge strategies
public Dictionary<string, CategoryMergeStrategy> CategoryStrategies { get; set; }
Property Value
EnableLogging
Whether to log inheritance operations
public bool EnableLogging { get; set; }
Property Value
ExcludedCategories
Categories to explicitly exclude from inheritance
public List<string> ExcludedCategories { get; set; }
Property Value
ExcludedPlaceables
Placeables to explicitly exclude from inheritance
public List<string> ExcludedPlaceables { get; set; }
Property Value
ExcludedProperties
Properties to exclude from inheritance
public List<string> ExcludedProperties { get; set; }
Property Value
ForceInheritance
Whether to force inheritance even if conflicts exist
public bool ForceInheritance { get; set; }
Property Value
PlaceableStrategies
Placeable-specific merge strategies
public Dictionary<string, PlaceableMergeStrategy> PlaceableStrategies { get; set; }
Property Value
Methods
ExcludeCategory(string)
Adds a category to the exclusion list
public void ExcludeCategory(string categoryName)
Parameters
categoryNamestring
ExcludePlaceable(string)
Adds a placeable to the exclusion list
public void ExcludePlaceable(string placeableName)
Parameters
placeableNamestring
SetCategoryStrategy(string, CategoryMergeStrategy)
Sets the merge strategy for a specific category
public void SetCategoryStrategy(string categoryName, CategoryMergeStrategy strategy)
Parameters
categoryNamestringstrategyCategoryMergeStrategy
SetPlaceableStrategy(string, PlaceableMergeStrategy)
Sets the merge strategy for a specific placeable
public void SetPlaceableStrategy(string placeableName, PlaceableMergeStrategy strategy)
Parameters
placeableNamestringstrategyPlaceableMergeStrategy