C# Класс Reinforced.Typings.Exceptions.RtWarning

Represents warning message that could be displayed during build. Warnings can be added to global warnings collection located at ExportContext.Warnings. ExportContext instance can be found inside every TsCodeGeneratorBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RtWarning ( int code, string subcategory = null, string text = null ) : System

Instantiates new RtWarning that is suitable be added to warnings collection.

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

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

Instantiates new RtWarning that is suitable be added to warnings collection.
public RtWarning ( int code, string subcategory = null, string text = null ) : System
code int Warning code
subcategory string Warning subcategory (optional). Important! Warning subcategory should not contain word "warning" and ":" symbol
text string Warning text
Результат System