Summary
Appends the C# declaration of a type with a signature matching the specified `type` and an [Obsolete] attribute.
Also calls
Weaver.Editor.Procedural.Scripting.CSharpProcedural.AppendObsoleteDeclaration(System.Text.StringBuilder,System.Int32,System.Reflection.MemberInfo,System.String,System.Boolean)
for each of the type's members.
Syntax
public static void AppendObsoleteDeclaration(StringBuilder text, int indent, Type type, string obsoleteMessage = "", bool error = false)
Parameters
Name |
Type |
Description |
text |
StringBuilder |
|
indent |
int |
|
type |
Type |
|
obsoleteMessage |
string |
|
error |
bool |
|
Return Value