CachedTypeInfo Class

Summary

[Editor-Only] Encapsulates information about a Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type for easy access and efficient reuse.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural.Scripting
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CachedTypeInfo"] class Type type-node

Syntax

public sealed class CachedTypeInfo

Fields

Name Constant Value Summary
Members
The members of the encapsulated Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type. This list will be null if there are no members.
NestedTypes
The Weaver.Editor.Procedural.Scripting.CachedTypeInfo for the types nested in the encapsulated Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type. This list will be null if there are no nested types.
Type
The encapsulated Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type.

Methods

Name Value Summary
AppendDescription(StringBuilder, int) void
Appends a description of the encapsulated Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type and its Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Members.
FindExistingType(string, string, bool) CachedTypeInfo
Tries to find and return the info for a type with the specified `fullName`. Otherwise searches for a type with the `name` in any namespace.
static
Get(string) CachedTypeInfo
Returns a Weaver.Editor.Procedural.Scripting.CachedTypeInfo which encapsulates the Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type with the specified `fullname` and caches it for efficient reuse.
static
Get(Type) CachedTypeInfo
Returns a Weaver.Editor.Procedural.Scripting.CachedTypeInfo which encapsulates the specified `type` and caches it for efficient reuse.
static
GetDescription() string
Returns a description of the encapsulated Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type and its Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Members.
GetNestedType(string) CachedTypeInfo
Returns the nested type with the specified `name` (if one exists).
HasAnyObsoleteMembers() bool
Returns true if any of the members in the encapsulated type or any nested type are marked with an [System.ObsoleteAttribute].
ToString() string
Returns Weaver.Editor.Procedural.Scripting.CachedTypeInfo.Type.ToString().