OperationLibrary.Register C# (CSharp) Method

Register() public method

public Register ( string name, AllocOperationDelegate alloc ) : void
name string
alloc AllocOperationDelegate
return void
	public void	Register( string name, AllocOperationDelegate alloc ) {
		allocators[ name ] = alloc;
	}
	

Usage Example

Exemplo n.º 1
0
	public static void	Register( OperationLibrary library ) {
		library.Register( "PushBehavior", delegate() { return new PushBehaviorOperation(); } );
	}
All Usage Examples Of OperationLibrary::Register