Class Rule
Inheritance
System.Object
Rule
Assembly: cs.temp.dll.dll
[Serializable]
public sealed class Rule : ISerializationCallbackReceiver, IRenamable
Fields
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Declaration
Field Value
Type |
Description |
System.String |
|
Declaration
[NonSerialized]
public RuleSet rules
Field Value
Properties
Declaration
public int blocksCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public void appendBlock(RuleBlock block)
Parameters
Declaration
public RuleBlock getBlock(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Declaration
public int getBlockIndex(RuleBlock block)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void insertBlock(RuleBlock block, int index)
Parameters
Type |
Name |
Description |
RuleBlock |
block |
|
System.Int32 |
index |
|
Declaration
public void OnAfterDeserialize()
Declaration
public void OnBeforeSerialize()
Declaration
public void removeBlock(RuleBlock block)
Parameters
Declaration
public void removeBlockAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void setBlock(int i, RuleBlock block)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
RuleBlock |
block |
|
Explicit Interface Implementations
Declaration
string IRenamable.name { get; set; }
Returns
Type |
Description |
System.String |
|
Implements