Ejemplo n.º 1
0
 public BlockDispatcher1(BlockCallTarget1 /*!*/ block, BlockSignatureAttributes attributes)
     : base(attributes)
 {
     Assert.NotNull(block);
     Debug.Assert(!HasUnsplatParameter);
     _block = block;
 }
Ejemplo n.º 2
0
 public static Proc/*!*/ CreateSimple(RubyContext/*!*/ context, BlockCallTarget1/*!*/ clrMethod) {
     return Create(context, 1, BlockSignatureAttributes.None, clrMethod);
 }
Ejemplo n.º 3
0
 public static Proc/*!*/ Create(RubyContext/*!*/ context, BlockCallTarget1/*!*/ clrMethod) {
     return Create(context, 1, BlockDispatcher.MakeAttributes(BlockSignatureAttributes.HasSingleCompoundParameter, -1), clrMethod);
 }
Ejemplo n.º 4
0
 public static Proc /*!*/ CreateSimple(RubyContext /*!*/ context, BlockCallTarget1 /*!*/ clrMethod)
 {
     return(Create(context, 1, BlockSignatureAttributes.None, clrMethod));
 }
Ejemplo n.º 5
0
 public static Proc /*!*/ Create(RubyContext /*!*/ context, BlockCallTarget1 /*!*/ clrMethod)
 {
     return(Create(context, 1, BlockDispatcher.MakeAttributes(BlockSignatureAttributes.None, -1), clrMethod));
 }
Ejemplo n.º 6
0
 public static Proc /*!*/ Create(RubyContext /*!*/ context, BlockCallTarget1 /*!*/ clrMethod)
 {
     return(Create(context, 1, BlockDispatcher.MakeAttributes(BlockSignatureAttributes.HasSingleCompoundParameter, -1), clrMethod));
 }
Ejemplo n.º 7
0
 public BlockDispatcher1(BlockCallTarget1/*!*/ block, BlockSignatureAttributes attributes)
     : base(attributes) {
     Assert.NotNull(block);
     Debug.Assert(!HasUnsplatParameter);
     _block = block;
 }
Ejemplo n.º 8
0
 public static Proc/*!*/ Create(RubyContext/*!*/ context, BlockCallTarget1/*!*/ clrMethod) {
     return Create(context, 1, BlockDispatcher.MakeAttributes(BlockSignatureAttributes.None, -1), clrMethod);
 }
Ejemplo n.º 9
0
 public static Proc/*!*/ Create(RubyContext/*!*/ context, BlockCallTarget1/*!*/ clrMethod) {
     return Create(context, clrMethod, 1);
 }