ActivitiesGetter Class
Defines the in-memory storage and Program access to IActivity types.
Namespace
Songhay.Models
Base Types
  • object
graph BT Type-->Base0["object"] Type["ActivitiesGetter"] class Type type-node

Syntax

public abstract class ActivitiesGetter

Constructors

Name Summary
ActivitiesGetter(string[]) Initializes a new instance of the ActivitiesGetter class.

Properties

Name Property Type Summary
Args ProgramArgs
Gets the ProgramArgs.

Methods

Name Return Value Summary
GetActivity() IActivity
Gets the IActivity.
GetActivity(string) IActivity
Gets the IActivity.
LoadActivities(Dictionary<string, Lazy<IActivity>>?) void
Loads the activities into memory, lazily.

Extension Methods

Name Value Summary
IsAssignableToISerializable<ActivitiesGetter>() bool
Determines whether the specified type can be assigned to System.Runtime.Serialization.ISerializable.
ToObjectOrDbNull<ActivitiesGetter>() object
Boxes the nullable in object or returns DBNull.
ToReferenceTypeValueOrThrow<ActivitiesGetter>(string) T
Returns the non-null value of the specified, nullable reference type or throws an ArgumentNullException when the value is null.