Skip to content

ITextStudioGalleryProvider

InterfaceTextStudio.EditorTextStudio.Editor
public interface ITextStudioGalleryProvider

Editor extension point that contributes discoverable creation or setup cards to the Text Gallery. Implementations must have a parameterless constructor.

void AddCards(List<TextGalleryCard> cards)

Adds the provider’s cards to the supplied mutable collection.

Parameters

Name Type Description
cards System.Collections.Generic.List{TextStudio.Editor.TextGalleryCard} Shared collection for the current gallery reload. Do not retain it.

int SortOrder { get; }

Gets the provider order used before contributed cards are displayed.

Returns

System.Int32