Context<T> Struct

Summary

A system for making data available during method calls without directly passing it in as a parameter.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit
Interfaces
  • IDisposable
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IDisposable"] Type["Context<T>"] class Type type-node

Syntax

public readonly struct Context<T> : ValueType, IDisposable

Remarks

This system is thread-safe.

Type Parameters

Name Description
T

Constructors

Name Summary
Context(T) Creates a new PlatformerGameKit.Context`1.

Fields

Name Constant Value Summary
enableStackTrace
static

Properties

Name Value Summary
Current T
static

Methods

Name Value Summary
Dispose() void

Operators

Name Value Summary
implicit operator Context<T>(T) Context<T>