Пример #1
0
 public BlockDispatcher2(BlockCallTarget2 /*!*/ block, BlockSignatureAttributes attributes)
     : base(attributes)
 {
     Assert.NotNull(block);
     Debug.Assert(!HasUnsplatParameter);
     _block = block;
 }
Пример #2
0
 public static Proc/*!*/ Create(RubyContext/*!*/ context, BlockCallTarget2/*!*/ clrMethod) {
     return Create(context, 2, BlockSignatureAttributes.None, clrMethod);
 }
Пример #3
0
 public static Proc /*!*/ Create(RubyContext /*!*/ context, BlockCallTarget2 /*!*/ clrMethod)
 {
     return(Create(context, 2, BlockSignatureAttributes.None, clrMethod));
 }
Пример #4
0
 public BlockDispatcher2(BlockCallTarget2/*!*/ block, BlockSignatureAttributes attributes)
     : base(attributes) {
     Assert.NotNull(block);
     Debug.Assert(!HasUnsplatParameter);
     _block = block;
 }
Пример #5
0
 public static Proc/*!*/ Create(RubyContext/*!*/ context, BlockCallTarget2/*!*/ clrMethod) {
     return Create(context, clrMethod, 2);
 }