ILNumerics Ultimate VSScope ClassILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
An artificial scope class, used by the ILNumerics memory management

[ILNumerics Core Module]

Inheritance Hierarchy

SystemObject
  ILNumericsScope

Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public sealed class Scope : IDisposable

The Scope type exposes the following members.

Methods

  NameDescription
Public methodDispose
Release all arrays in this scope.

[ILNumerics Core Module]

Public methodStatic memberCode exampleEnter
Begins an artificial scope block within a local function.

[ILNumerics Core Module]

Public methodStatic memberCode exampleEnter(NullableArrayStyles)
Begins an artificial scope block within a local function, determine the array style.

[ILNumerics Core Module]

Public methodStatic memberCode exampleEnter(BaseArray, NullableArrayStyles)
Begins an artificial scope block within a local function block.

[ILNumerics Core Module]

Public methodStatic memberCode exampleEnter(BaseArray, BaseArray, NullableArrayStyles)
Begins an artificial scope block within a local function block.

[ILNumerics Core Module]

Public methodStatic memberCode exampleEnter(BaseArray, BaseArray, BaseArray, NullableArrayStyles)
Begins an artificial scope block within a local function block.

[ILNumerics Core Module]

Public methodStatic memberCode exampleEnter(BaseArray, BaseArray, BaseArray, BaseArray, NullableArrayStyles)
Begins an artificial scope block within a local function block.

[ILNumerics Core Module]

Public methodStatic memberCode exampleEnter(BaseArray, BaseArray, BaseArray, BaseArray, BaseArray, NullableArrayStyles)
Begins an artificial scope block within a local function block.

[ILNumerics Core Module]

Top
Remarks

A scope object serves the following purposes:

It provides an option to be used within a using directive. Therefore, it implements the IDisposable interface.

Internally it maintains a Count variable which keeps track of the number of arrays currently maintained by the scope.

Scopes participate in an efficient caching algorithm. One should not create a scope object manually via new(). Use the [!:Enter(BaseArray)] and [!:Enter(BaseArray[])] functions instead!

[ILNumerics Core Module]

See Also

Reference