Interface IImporterMenuItem
Interface IImporterMenuItem
Namespace: Unity.Industrial.Forma.Editor.UI.Service
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.UI", "Unity.Industrial.Configurator.Editor", null)]
public interface IImporterMenuItem
Properties
Label
Gets the label.
Declaration
string Label { get; }
Property Value
| Type | Description |
|---|---|
| String | The label. |
Methods
OnImport(ConfiguratorProfile)
Called when [import].
Declaration
Task<IEnumerable<Product>> OnImport(ConfiguratorProfile profile)
Parameters
| Type | Name | Description |
|---|---|---|
| ConfiguratorProfile | profile | The profile. |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<Product>> | Task<IEnumerable<Product>>. |