TessaCompilationSourceHelperPrepareScenario - метод
Выполняет вставку в текст сценария директивы #using, #static и #reference.
Пространство имён: Tessa.Compilation.SourcesСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
public static string PrepareScenario(
string text,
ICollection<string>? usings,
ICollection<string>? statics,
ICollection<string>? references
)
Public Shared Function PrepareScenario (
text As String,
usings As ICollection(Of String),
statics As ICollection(Of String),
references As ICollection(Of String)
) As String
public:
static String^ PrepareScenario(
String^ text,
ICollection<String^>^ usings,
ICollection<String^>^ statics,
ICollection<String^>^ references
)
static member PrepareScenario :
text : string *
usings : ICollection<string> *
statics : ICollection<string> *
references : ICollection<string> -> string
- text String
- Текст исходников.
- usings ICollectionString
- Список используемых юзингов.
- statics ICollectionString
- Список используемых статиков.
- references ICollectionString
- Список используемых ссылок на внешние сборки.
StringПодготовленный текст.