> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ScenarioBase

Namespace: [VM.Models](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models)\
Assembly: VM.Models.Project.dll

```csharp theme={null}
public abstract class ScenarioBase : ProjectObjectBase, IObservableObject, IScenario, IProjectObject, IHasID, IHasName, IDisposableObject, ISelected, IHasParent<IProjectDocument>
```

#### Inheritance

object ←
ObservableObject ←
[ProjectObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.ProjectObjectBase.md) ←
[ScenarioBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.ScenarioBase.md)

#### Implements

IObservableObject,
[IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md),
[IProjectObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectObject.md),
IHasID,
IHasName,
IDisposableObject,
ISelected,
IHasParent\<IProjectDocument>

#### Inherited Members

[ProjectObjectBase.OnDeserialization(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.ProjectObjectBase.md#VM_Models_ProjectObjectBase_OnDeserialization_System_Object_),
[ProjectObjectBase.DisposeManagedResources()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.ProjectObjectBase.md#VM_Models_ProjectObjectBase_DisposeManagedResources),
[ProjectObjectBase.DisplayName](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.ProjectObjectBase.md#VM_Models_ProjectObjectBase_DisplayName),
[ProjectObjectBase.ID](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.ProjectObjectBase.md#VM_Models_ProjectObjectBase_ID),
[ProjectObjectBase.Name](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.ProjectObjectBase.md#VM_Models_ProjectObjectBase_Name),
ObservableObject.Dispose(),
ObservableObject.RaisePropertyChanged(string),
ObservableObject.RaisePropertyChanged(string, object, object),
ObservableObject.Dispose(bool),
ObservableObject.DisposeManagedResources(),
ObservableObject.DisposeUnmanagedResources(),
ObservableObject.IsDisposed,
ObservableObject.TryDisposing,
ObservableObject.Disposed,
ObservableObject.Disposing,
ObservableObject.PropertyChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ScenarioBase(IProjectDocument, string)

```csharp theme={null}
public ScenarioBase(IProjectDocument parent, string name)
```

#### Parameters

`parent` [IProjectDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectDocument.md)

`name` string

## Properties

### CategoryName

```csharp theme={null}
[Browsable(false)]
public abstract string CategoryName { get; }
```

#### Property Value

string

### IsSelected

```csharp theme={null}
[Browsable(false)]
public bool IsSelected { get; set; }
```

#### Property Value

bool

### Items

```csharp theme={null}
public IEnumerable<IStep> Items { get; }
```

#### Property Value

IEnumerable\<[IStep](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IStep.md)>

### Left

```csharp theme={null}
[Browsable(false)]
public double Left { get; set; }
```

#### Property Value

double

### Name

```csharp theme={null}
public override string Name { get; set; }
```

#### Property Value

string

### Parent

```csharp theme={null}
[Browsable(false)]
public IProjectDocument Parent { get; }
```

#### Property Value

[IProjectDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectDocument.md)

### ParentDocument

```csharp theme={null}
[Browsable(false)]
public IProjectDocument ParentDocument { get; }
```

#### Property Value

[IProjectDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectDocument.md)

### Top

```csharp theme={null}
[Browsable(false)]
public double Top { get; set; }
```

#### Property Value

double

### this\[Identifier]

```csharp theme={null}
public IStep this[Identifier identifier] { get; }
```

#### Property Value

[IStep](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IStep.md)

### this\[int]

```csharp theme={null}
public IStep this[int index] { get; }
```

#### Property Value

[IStep](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IStep.md)

## Methods

### Add(IStep)

```csharp theme={null}
public void Add(IStep item)
```

#### Parameters

`item` [IStep](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IStep.md)

### Clear()

```csharp theme={null}
public void Clear()
```

### DisposeManagedResources()

```csharp theme={null}
protected override void DisposeManagedResources()
```

### Remove(IStep)

```csharp theme={null}
public void Remove(IStep item)
```

#### Parameters

`item` [IStep](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IStep.md)

### TryGetItem(Identifier, out IStep)

```csharp theme={null}
public bool TryGetItem(Identifier identifier, out IStep item)
```

#### Parameters

`identifier` Identifier

`item` [IStep](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IStep.md)

#### Returns

bool
