本文整理汇总了C#中Test.begin_opFloatDoubleS方法的典型用法代码示例。如果您正苦于以下问题:C# Test.begin_opFloatDoubleS方法的具体用法?C# Test.begin_opFloatDoubleS怎么用?C# Test.begin_opFloatDoubleS使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Test
的用法示例。
在下文中一共展示了Test.begin_opFloatDoubleS方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: twowaysAMI
//.........这里部分代码省略.........
{
short[] ssi = new short[] { 1, 2, 3 };
int[] isi = new int[] { 5, 6, 7, 8 };
long[] lsi = new long[] { 10, 30, 20 };
Callback cb = new Callback();
p.begin_opShortIntLongS(ssi, isi, lsi).whenCompleted(cb.opShortIntLongS, cb.exCB);
cb.check();
}
{
short[] ssi = new short[] { 1, 2, 3 };
int[] isi = new int[] { 5, 6, 7, 8 };
long[] lsi = new long[] { 10, 30, 20 };
Callback cb = new Callback();
p.begin_opShortIntLongS(ssi, isi, lsi).whenCompleted(
(long[] rso, short[] sso, int[] iso, long[] lso) =>
{
cb.opShortIntLongS(rso, sso, iso, lso);
},
(Ice.Exception ex) =>
{
cb.exCB(ex);
});
cb.check();
}
{
float[] fsi = new float[] { 3.14f, 1.11f };
double[] dsi = new double[] { 1.1e10, 1.2e10, 1.3e10 };
Callback cb = new Callback();
p.begin_opFloatDoubleS(fsi, dsi).whenCompleted(cb.opFloatDoubleS, cb.exCB);
cb.check();
}
{
float[] fsi = new float[] { 3.14f, 1.11f };
double[] dsi = new double[] { 1.1e10, 1.2e10, 1.3e10 };
Callback cb = new Callback();
p.begin_opFloatDoubleS(fsi, dsi).whenCompleted(
(double[] rso, float[] fso, double[] dso) =>
{
cb.opFloatDoubleS(rso, fso, dso);
},
(Ice.Exception ex) =>
{
cb.exCB(ex);
});
cb.check();
}
{
string[] ssi1 = new string[] { "abc", "de", "fghi" };
string[] ssi2 = new string[] { "xyz" };
Callback cb = new Callback();
p.begin_opStringS(ssi1, ssi2).whenCompleted(cb.opStringS, cb.exCB);
cb.check();
}
{
string[] ssi1 = new string[] { "abc", "de", "fghi" };
string[] ssi2 = new string[] { "xyz" };
示例2: twowaysNewAMI
//.........这里部分代码省略.........
}
{
bool[] tbsi1 = new bool[] { true, true, false };
Test.BoolS bsi1 = new Test.BoolS(tbsi1);
bool[] tbsi2 = new bool[] { false };
Test.BoolS bsi2 = new Test.BoolS(tbsi2);
Callback cb = new Callback();
p.begin_opBoolS(bsi1, bsi2).whenCompleted(cb.opBoolS, cb.exCB);
cb.check();
}
{
short[] tssi = new short[] { 1, 2, 3 };
Test.ShortS ssi = new Test.ShortS(tssi);
int[] tisi = new int[] { 5, 6, 7, 8 };
Test.IntS isi = new Test.IntS(tisi);
long[] tlsi = new long[] { 10, 30, 20 };
Test.LongS lsi = new Test.LongS(tlsi);
Callback cb = new Callback();
p.begin_opShortIntLongS(ssi, isi, lsi).whenCompleted(cb.opShortIntLongS, cb.exCB);
cb.check();
}
{
float[] tfsi = new float[] { 3.14f, 1.11f };
Test.FloatS fsi = new Test.FloatS(tfsi);
double[] tdsi = new double[] { 1.1e10, 1.2e10, 1.3e10 };
Test.DoubleS dsi = new Test.DoubleS(tdsi);
Callback cb = new Callback();
p.begin_opFloatDoubleS(fsi, dsi).whenCompleted(cb.opFloatDoubleS, cb.exCB);
cb.check();
}
{
string[] tssi1 = new string[] { "abc", "de", "fghi" };
Test.StringS ssi1 = new Test.StringS(tssi1);
string[] tssi2 = new string[] { "xyz" };
Test.StringS ssi2 = new Test.StringS(tssi2);
Callback cb = new Callback();
p.begin_opStringS(ssi1, ssi2).whenCompleted(cb.opStringS, cb.exCB);
cb.check();
}
{
Test.ByteS s11 = new Test.ByteS(new byte[] { 0x01, 0x11, 0x12 });
Test.ByteS s12 = new Test.ByteS(new byte[] { 0xff });
Test.ByteSS bsi1 = new Test.ByteSS(new Test.ByteS[] { s11, s12 });
Test.ByteS s21 = new Test.ByteS(new byte[] { 0x0e });
Test.ByteS s22 = new Test.ByteS(new byte[] { 0xf2, 0xf1 });
Test.ByteSS bsi2 = new Test.ByteSS(new Test.ByteS[] { s21, s22 });
Callback cb = new Callback();
p.begin_opByteSS(bsi1, bsi2).whenCompleted(cb.opByteSS, cb.exCB);
cb.check();
}
{
Test.FloatS f11 = new Test.FloatS(new float[] { 3.14f });
Test.FloatS f12 = new Test.FloatS(new float[] { 1.11f });
Test.FloatS f13 = new Test.FloatS(new float[] { });