![]() |
BadScript 2
|
Provides settings for creating a new BadExecutionContext More...
Public Member Functions | |
| BadExecutionContextOptions (IEnumerable< BadInteropApi > apis) | |
| Creates a new instance of the BadExecutionContextOptions class. | |
| BadExecutionContextOptions (params BadInteropApi[] apis) | |
| Creates a new instance of the BadExecutionContextOptions class. | |
| BadExecutionContextOptions (IEnumerable< BadInteropApi > apis, IEnumerable< BadInteropExtension > extensions) | |
| Creates a new instance of the BadExecutionContextOptions class. | |
| void | AddExtension< T > () |
| Adds a new Extension to the context. | |
| void | AddExtensions (params BadInteropExtension[] extensions) |
| Adds new Extensions to the context. | |
| void | AddExtension (BadInteropExtension extension) |
| Adds a new Extension to the context. | |
| void | AddApi (BadInteropApi api) |
| Adds a new Api to the context. | |
| void | AddOrReplaceApis (IEnumerable< BadInteropApi > apis) |
| Adds or Replaces apis in the context. | |
| void | AddOrReplaceApi (BadInteropApi api) |
| Adds or Replaces an api in the context. | |
| void | AddApis (IEnumerable< BadInteropApi > apis) |
| Adds Apis to the context. | |
| BadExecutionContext | Build () |
| Builds a new BadExecutionContext with the options provided in this Options Instance. | |
| BadExecutionContextOptions | Clone () |
| Clones this BadExecutionContextOptions instance. | |
Properties | |
| static BadExecutionContextOptions | Empty [get] |
| An Empty BadExecutionContextOptions instance. | |
| IEnumerable< BadInteropApi > | Apis [get] |
| List of APIs that are loaded in the context. | |
Private Attributes | |
| readonly List< BadInteropApi > | m_Apis = new List<BadInteropApi>() |
| List of APIs that are loaded in the context. | |
| readonly List< BadInteropExtension > | m_Extensions = new List<BadInteropExtension>() |
| List of Extensions that are loaded in the context. | |
Provides settings for creating a new BadExecutionContext
Definition at line 10 of file BadExecutionContextOptions.cs.
| BadScript2.Runtime.BadExecutionContextOptions.BadExecutionContextOptions | ( | IEnumerable< BadInteropApi > | apis | ) |
Creates a new instance of the BadExecutionContextOptions class.
| apis | Apis that should be added. |
Definition at line 26 of file BadExecutionContextOptions.cs.
| BadScript2.Runtime.BadExecutionContextOptions.BadExecutionContextOptions | ( | params BadInteropApi[] | apis | ) |
Creates a new instance of the BadExecutionContextOptions class.
| apis | Apis that should be added. |
Definition at line 35 of file BadExecutionContextOptions.cs.
| BadScript2.Runtime.BadExecutionContextOptions.BadExecutionContextOptions | ( | IEnumerable< BadInteropApi > | apis, |
| IEnumerable< BadInteropExtension > | extensions | ||
| ) |
Creates a new instance of the BadExecutionContextOptions class.
| apis | Apis that should be added. |
| extensions | Extensions that should be added. |
Definition at line 42 of file BadExecutionContextOptions.cs.
| void BadScript2.Runtime.BadExecutionContextOptions.AddApi | ( | BadInteropApi | api | ) |
Adds a new Api to the context.
| api | The Api to add. |
Definition at line 94 of file BadExecutionContextOptions.cs.
| void BadScript2.Runtime.BadExecutionContextOptions.AddApis | ( | IEnumerable< BadInteropApi > | apis | ) |
Adds Apis to the context.
| apis | The Apis to add. |
Definition at line 133 of file BadExecutionContextOptions.cs.
| void BadScript2.Runtime.BadExecutionContextOptions.AddExtension | ( | BadInteropExtension | extension | ) |
Adds a new Extension to the context.
| extension | The Extension to add. |
Definition at line 85 of file BadExecutionContextOptions.cs.
Adds a new Extension to the context.
| T | The Extension Type. |
| T | : | BadInteropExtension | |
| T | : | new() |
Definition at line 63 of file BadExecutionContextOptions.cs.
| void BadScript2.Runtime.BadExecutionContextOptions.AddExtensions | ( | params BadInteropExtension[] | extensions | ) |
Adds new Extensions to the context.
| extensions | The Extensions to add. |
Definition at line 73 of file BadExecutionContextOptions.cs.
| void BadScript2.Runtime.BadExecutionContextOptions.AddOrReplaceApi | ( | BadInteropApi | api | ) |
Adds or Replaces an api in the context.
| api | The Api to add or replace. |
Definition at line 115 of file BadExecutionContextOptions.cs.
| void BadScript2.Runtime.BadExecutionContextOptions.AddOrReplaceApis | ( | IEnumerable< BadInteropApi > | apis | ) |
Adds or Replaces apis in the context.
| apis | The Apis to add or replace. |
Definition at line 103 of file BadExecutionContextOptions.cs.
| BadExecutionContext BadScript2.Runtime.BadExecutionContextOptions.Build | ( | ) |
Builds a new BadExecutionContext with the options provided in this Options Instance.
Definition at line 142 of file BadExecutionContextOptions.cs.
| BadExecutionContextOptions BadScript2.Runtime.BadExecutionContextOptions.Clone | ( | ) |
Clones this BadExecutionContextOptions instance.
Definition at line 176 of file BadExecutionContextOptions.cs.
|
private |
List of APIs that are loaded in the context.
Definition at line 15 of file BadExecutionContextOptions.cs.
|
private |
List of Extensions that are loaded in the context.
Definition at line 20 of file BadExecutionContextOptions.cs.
|
get |
List of APIs that are loaded in the context.
Definition at line 57 of file BadExecutionContextOptions.cs.
|
staticget |
An Empty BadExecutionContextOptions instance.
Definition at line 52 of file BadExecutionContextOptions.cs.