Table of Contents

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

Dictionary<string, CategoryMergeStrategy>

EnableLogging

Whether to log inheritance operations

public bool EnableLogging { get; set; }

Property Value

bool

ExcludedCategories

Categories to explicitly exclude from inheritance

public List<string> ExcludedCategories { get; set; }

Property Value

List<string>

ExcludedPlaceables

Placeables to explicitly exclude from inheritance

public List<string> ExcludedPlaceables { get; set; }

Property Value

List<string>

ExcludedProperties

Properties to exclude from inheritance

public List<string> ExcludedProperties { get; set; }

Property Value

List<string>

ForceInheritance

Whether to force inheritance even if conflicts exist

public bool ForceInheritance { get; set; }

Property Value

bool

PlaceableStrategies

Placeable-specific merge strategies

public Dictionary<string, PlaceableMergeStrategy> PlaceableStrategies { get; set; }

Property Value

Dictionary<string, PlaceableMergeStrategy>

Methods

ExcludeCategory(string)

Adds a category to the exclusion list

public void ExcludeCategory(string categoryName)

Parameters

categoryName string

ExcludePlaceable(string)

Adds a placeable to the exclusion list

public void ExcludePlaceable(string placeableName)

Parameters

placeableName string

SetCategoryStrategy(string, CategoryMergeStrategy)

Sets the merge strategy for a specific category

public void SetCategoryStrategy(string categoryName, CategoryMergeStrategy strategy)

Parameters

categoryName string
strategy CategoryMergeStrategy

SetPlaceableStrategy(string, PlaceableMergeStrategy)

Sets the merge strategy for a specific placeable

public void SetPlaceableStrategy(string placeableName, PlaceableMergeStrategy strategy)

Parameters

placeableName string
strategy PlaceableMergeStrategy