C# Класс BitOrchestra.Operator

Gives information about a binary operator.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Map Operator>.Dictionary
MaxOperatorLength int
Name string
Operation BinaryOperation
Precedence int

Открытые методы

Метод Описание
Add ( Operator Operator ) : void

Adds an operator to the available set of operators.

Operator ( string Name, int Precedence, BinaryOperation Operation ) : System

Приватные методы

Метод Описание
Operator ( ) : System

Описание методов

Add() публичный статический Метод

Adds an operator to the available set of operators.
public static Add ( Operator Operator ) : void
Operator Operator
Результат void

Operator() публичный Метод

public Operator ( string Name, int Precedence, BinaryOperation Operation ) : System
Name string
Precedence int
Operation BinaryOperation
Результат System

Описание свойств

Map публичное статическое свойство

A mapping of names to binary operators.
public static Dictionary Map
Результат Operator>.Dictionary

MaxOperatorLength публичное статическое свойство

The maximum string length of an operator.
public static int MaxOperatorLength
Результат int

Name публичное свойство

The name of the operator.
public string Name
Результат string

Operation публичное свойство

The operation for the operator.
public BinaryOperation Operation
Результат BinaryOperation

Precedence публичное свойство

The precedence of the operator.
public int Precedence
Результат int