    

 ## On this page

  

 

 # Class StepItemService

 Last update: 16.07.2025 

Namespace: [VM.Models](VM.Models.md)  
Assembly: VM.Models.Project.dll

```csharp
[DependencyResolve(typeof(IStepItemService))]
public class StepItemService : IStepItemService

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [StepItemService](VM.Models.StepItemService.md)

#### Implements

[IStepItemService](VM.Models.IStepItemService.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### StepItemService(ApplicationTypes)

```csharp
public StepItemService(ApplicationTypes target)

```

#### Parameters

`target` ApplicationTypes

## Properties

### Target

```csharp
public ApplicationTypes Target { get; }

```

#### Property Value

ApplicationTypes

## Methods

### Add(IStepItemSet, Type, Func&lt;IEnumerable&lt;IStepItem&gt;&gt;)

```csharp
public void Add(IStepItemSet stepItemSet, Type stepType, Func<IEnumerable<IStepItem>> factory)

```

#### Parameters

`stepItemSet` [IStepItemSet](VM.Models.IStepItemSet.md)

`stepType` [Type](https://learn.microsoft.com/dotnet/api/system.type)

`factory` [Func](https://learn.microsoft.com/dotnet/api/system.func-1)&lt;[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[IStepItem](VM.Models.IStepItem.md)&gt;&gt;

### Clear()

```csharp
public void Clear()

```

### Compose(IEnumerable&lt;Assembly&gt;)

```csharp
public void Compose(IEnumerable<Assembly> assemblies)

```

#### Parameters

`assemblies` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[Assembly](https://learn.microsoft.com/dotnet/api/system.reflection.assembly)&gt;

### GetItems(Type, IStep)

```csharp
public IEnumerable<IStepItem> GetItems(Type scenarioType, IStep parent)

```

#### Parameters

`scenarioType` [Type](https://learn.microsoft.com/dotnet/api/system.type)

`parent` [IStep](VM.Models.IStep.md)

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[IStepItem](VM.Models.IStepItem.md)&gt;