Ejemplo n.º 1
0
        internal SyncMessage(SyncMethod syncMethod, object[] allArguments)
        {
            SyncMethod   = syncMethod;
            AllArguments = allArguments;

            //todo check that the arguments match the delegate in the method

            //VerifyArguments();
            //could check that the name of the caller parent matches the name of syncmethod's argument
            //i.e. match the S2 in "s2 = joiner.NewSyncMethod<int>(S2);"
            //  and the S2 in "private void S2(int i) { s2.Invoked(i); }"
        }
Ejemplo n.º 2
0
 internal SyncChord(SyncMethod primarySyncMethod)
 {
     primaryMethod = primarySyncMethod;
 }