Lean  $LEAN_TAG$
QuantConnect.Securities.RegisteredSecurityDataTypesProvider Class Reference

Provides an implementation of IRegisteredSecurityDataTypesProvider that permits the consumer to modify the expected types More...

Inheritance diagram for QuantConnect.Securities.RegisteredSecurityDataTypesProvider:
[legend]

Public Member Functions

bool RegisterType (Type type)
 Registers the specified type w/ the provider More...
 
bool UnregisterType (Type type)
 Removes the registration for the specified type More...
 
bool TryGetType (string name, out Type type)
 Gets an enumerable of data types expected to be contained in a DynamicSecurityData instance More...
 

Static Public Attributes

static readonly IRegisteredSecurityDataTypesProvider Null = new RegisteredSecurityDataTypesProvider()
 Provides a reference to an instance of IRegisteredSecurityDataTypesProvider that contains no registered types More...
 

Detailed Description

Provides an implementation of IRegisteredSecurityDataTypesProvider that permits the consumer to modify the expected types

Definition at line 26 of file RegisteredSecurityDataTypesProvider.cs.

Member Function Documentation

◆ RegisterType()

bool QuantConnect.Securities.RegisteredSecurityDataTypesProvider.RegisterType ( Type  type)

Registers the specified type w/ the provider

Returns
True if the type was previously not registered

Implements QuantConnect.Securities.IRegisteredSecurityDataTypesProvider.

Definition at line 39 of file RegisteredSecurityDataTypesProvider.cs.

◆ UnregisterType()

bool QuantConnect.Securities.RegisteredSecurityDataTypesProvider.UnregisterType ( Type  type)

Removes the registration for the specified type

Returns
True if the type was previously registered

Implements QuantConnect.Securities.IRegisteredSecurityDataTypesProvider.

Definition at line 64 of file RegisteredSecurityDataTypesProvider.cs.

◆ TryGetType()

bool QuantConnect.Securities.RegisteredSecurityDataTypesProvider.TryGetType ( string  name,
out Type  type 
)

Gets an enumerable of data types expected to be contained in a DynamicSecurityData instance

Implements QuantConnect.Securities.IRegisteredSecurityDataTypesProvider.

Definition at line 75 of file RegisteredSecurityDataTypesProvider.cs.

Member Data Documentation

◆ Null

readonly IRegisteredSecurityDataTypesProvider QuantConnect.Securities.RegisteredSecurityDataTypesProvider.Null = new RegisteredSecurityDataTypesProvider()
static

Provides a reference to an instance of IRegisteredSecurityDataTypesProvider that contains no registered types

Definition at line 31 of file RegisteredSecurityDataTypesProvider.cs.


The documentation for this class was generated from the following file: