• Home
  • Blog
  • Docs
  • GitHub
Show / Hide Table of Contents

Interface IGameExtensionProvider<TExtension>

Factory for a mixin that extends IGameLibrary.

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
IGameRecord record

The IGameRecord that is provided to the extension.

Returns
Type Description
TExtension

A new instance of the library extension.

Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.