csharp
public sealed class EditorRegistryThe contribution registry.
Remarks
⚠ Locked, because the generated producer runs on whatever thread first touched the assembly. A module initializer is not on the frame thread and has no way to get onto it; everything else here is, so contention is a start-up cost and nothing more.
Fields and properties (1)
public static EditorRegistry DefaultThe one the editor reads unless it was handed another.
Events (1)
public Action<Type>? ChangedRaised after any contribution of a kind is added or removed, with that kind.
Methods (3)
public IReadOnlyList<T> All<T>() where T : classEverything contributed of one kind, oldest first.
public IDisposable Add<T>(T contribution) where T : classAdds a contribution.
public void Clear()Forgets everything. For tests.
Used by (9)
- ComponentGizmoTestsVixen.Editor.SceneView.Tests
- DeclaredContributionTestsVixen.Editor.App.Tests
- EditorApplicationVixen.Editor.App
- EditorRegistryTestsVixen.Editor.Core.Tests
- EditorSessionVixen.Editor.Testing
- InspectorViewVixen.Editor.Inspector
- OutOfTreePluginTestsVixen.Editor.App.Tests
- RemovalVixen.Editor.Core
- SceneViewportVixen.Editor.SceneView