Interface IGameExtensionProvider<TExtension>
Factory for a mixin that extends IGame
Namespace: Snowflake.Model.Game.LibraryExtensions
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IGameExtensionProvider<out TExtension> : IGameExtensionProvider where TExtension : class, IGameExtension
Type Parameters
Name | Description |
---|---|
TExtension | The type of the extension. |
Methods
MakeExtension(IGameRecord)
Creates a new instance of the extension TExtension
.
Declaration
TExtension MakeExtension(IGameRecord record)
Parameters
Type | Name | Description |
---|---|---|
IGame |
record | The IGame |
Returns
Type | Description |
---|---|
TExtension | A new instance of the library extension. |