Kodama

IArgumentProvider インターフェイス

[This is preliminary documentation and subject to change.]

バインドする引数をBindFunctor#Invoke呼び出し時に毎に遅延して提供するインターフェイス

この型のすべてのメンバの一覧については、 IArgumentProvider メンバを参照してください。

Kodama.Function.Functor.Bind.IArgumentProvider
   Kodama.DependencyInjection.Component.IArgumentComponentProvider

public interface IArgumentProvider

IArgumentProvider を実装するクラス

クラス 説明
NamedArgumentComponentProvider バインドする引数をBindFunctor#Invoke呼び出し時に毎に コンポーネントの名前をキーにIComponentContainer#GetComponent で提供するクラス
TypedArgumentComponentProvider バインドする引数をBindFunctor#Invoke呼び出し時に毎に コンポーネントの型をキーにIComponentContainer#GetComponent で提供するクラス
NewOpArgumentProvider バインドする引数をBindFunctor#Invoke呼び出し時に毎に新しいインスタンスで提供するインターフェイス

解説

BindFunctorのバインドする引数としてこれを渡すと、 BindFunctor#Invokeの呼び出しごとにバインドされる引数が IArgumentProvider#Provideで返される値になる。 C++のbindには同じような機能は存在しません。

必要条件

名前空間: Kodama.Function.Functor.Bind

アセンブリ: Kodama.Function (Kodama.Function.dll 内)

参照

IArgumentProvider インターフェイス | IArgumentProvider メンバ | Kodama.Function.Functor.Bind 名前空間 | BindFunctor