Class Relation
Base class for MARS Proxy Relations, which combine multiple data sources into a rating for ProxyGroups In most cases, you should inherit from the generic form, Relation<T>
Inherited Members
Namespace: Unity.MARS
Syntax
public abstract class Relation : RelationBase, ISimulatable, IRelation, IRelationBase, IConditionBase, IRequiresTraits
Properties
child1TraitName
The trait to test against for the first child
Declaration
public string child1TraitName { get; }
Property Value
Type | Description |
---|---|
String |
child2TraitName
The trait to test against for the second child
Declaration
public string child2TraitName { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetRequiredTraits()
Get the TraitRequirements that are required by this object
Declaration
public abstract TraitRequirement[] GetRequiredTraits()
Returns
Type | Description |
---|---|
TraitRequirement[] | The required traits |