Class UnaryOperatorHandler
Inheritance
UnaryOperatorHandler
Namespace: Ludiq
Syntax
public abstract class UnaryOperatorHandler : OperatorHandler
Constructors
UnaryOperatorHandler(OperatorCategory, UnaryOperator, String, String, String, String, String)
Declaration
protected UnaryOperatorHandler(OperatorCategory category, UnaryOperator operator, string name, string verb, string symbol, string fancySymbol, string customMethodName)
Parameters
Properties
operator
Declaration
public UnaryOperator operator { get; }
Property Value
Methods
CustomHandling(Object)
Declaration
protected virtual object CustomHandling(object operand)
Parameters
| Type |
Name |
Description |
| Object |
operand |
|
Returns
Declaration
public abstract string GetDescriptionFormat(Type type)
Parameters
| Type |
Name |
Description |
| Type |
type |
|
Returns
Handle<T>(Func<T, Object>)
Declaration
protected void Handle<T>(Func<T, object> handler)
Parameters
Type Parameters
HasCustomHandling(Type)
Declaration
protected virtual bool HasCustomHandling(Type type)
Parameters
| Type |
Name |
Description |
| Type |
type |
|
Returns
Operate(Object)
Declaration
public object Operate(object operand)
Parameters
| Type |
Name |
Description |
| Object |
operand |
|
Returns
Supports(Type)
Declaration
public bool Supports(Type type)
Parameters
| Type |
Name |
Description |
| Type |
type |
|
Returns
SupportsManual(Type)
Declaration
public bool SupportsManual(Type type)
Parameters
| Type |
Name |
Description |
| Type |
type |
|
Returns
Extension Methods