Method Unique
Unique(Type, Type)
This rule will add one variant for parents, and another variant for children, by default. Note: It is not recommended to serialize child entities as it is relatively slow to serialize them!
Declaration
public static DefaultVariantSystemBase.Rule Unique(Type variantForParents, Type variantForChildren)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | variantForParents | |
| Type | variantForChildren |
Returns
| Type | Description |
|---|---|
| DefaultVariantSystemBase.Rule |