GetMetricBool() public method

Gets a boolean metric value.
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricBool Requested metric.
return InheritBool
Example #1
0
 /// <summary>
 /// Gets a boolean metric value.
 /// </summary>
 /// <param name="state">Palette value should be applicable to this state.</param>
 /// <param name="metric">Requested metric.</param>
 /// <returns>InheritBool value.</returns>
 public virtual InheritBool GetMetricBool(PaletteState state, PaletteMetricBool metric)
 {
     // Always pass onto the inheritance
     return(_inherit.GetMetricBool(state, metric));
 }