Show / Hide Table of Contents

Class MissingContextComponentException

Raised by GenerationStep when required components are not present when PerformStep(GenerationContext) is called.

Inheritance
object
Exception
MissingContextComponentException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: GoRogue.MapGeneration
Assembly: GoRogue.dll
Syntax
public class MissingContextComponentException : Exception, ISerializable

Constructors

View Source

MissingContextComponentException()

Creates an empty exception.

Declaration
public MissingContextComponentException()
View Source

MissingContextComponentException(GenerationStep, Type, string?)

Creates a new exception with a helpful error message.

Declaration
public MissingContextComponentException(GenerationStep step, Type requiredComponentType, string? requiredComponentTag)
Parameters
Type Name Description
GenerationStep step

Generation step that failed to find its required components.

Type requiredComponentType

Type of the required component that was not found.

string requiredComponentTag

Tag of the required component that was not found, or null if no tag was required.

View Source

MissingContextComponentException(string)

Creates an exception with a fully customized message.

Declaration
public MissingContextComponentException(string message)
Parameters
Type Name Description
string message
View Source

MissingContextComponentException(string, Exception)

Creates an exception with a fully customized message and inner exception.

Declaration
public MissingContextComponentException(string message, Exception innerException)
Parameters
Type Name Description
string message
Exception innerException

Fields

View Source

RequiredComponentTag

Tag of the required component that was not found, or null if no tag was required.

Declaration
public readonly string? RequiredComponentTag
Field Value
Type Description
string
View Source

RequiredComponentType

Type of the required component that was not found.

Declaration
public readonly Type? RequiredComponentType
Field Value
Type Description
Type
View Source

Step

Generation step that failed to find its required components.

Declaration
public readonly GenerationStep? Step
Field Value
Type Description
GenerationStep

Implements

ISerializable

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX