本文整理匯總了C#中BRemote類的典型用法代碼示例。如果您正苦於以下問題:C# BRemote類的具體用法?C# BRemote怎麽用?C# BRemote使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
BRemote類屬於命名空間,在下文中一共展示了BRemote類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: PublishRemote
public virtual void PublishRemote(String name, BRemote remote, bool fowardToOtherServers, BAsyncResult<Object> asyncResult) {
BRequest_RemoteServerCtrl_publishRemote req = new BRequest_RemoteServerCtrl_publishRemote();
req.nameValue = name;
req.remoteValue = remote;
req.fowardToOtherServersValue = fowardToOtherServers;
transport.sendMethod(req, asyncResult);
}
示例2: PublishRemoteAsync
// checkpoint byps.gen.cs.GenRemoteStub:133
public async Task PublishRemoteAsync(String name, BRemote remote, bool fowardToOtherServers){
BRequest_RemoteServerCtrl_publishRemote req = new BRequest_RemoteServerCtrl_publishRemote();
req.nameValue = name;
req.remoteValue = remote;
req.fowardToOtherServersValue = fowardToOtherServers;
Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
await task;
}
示例3: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteMapTypes __byps__remoteT = (RemoteMapTypes)__byps__remote;
BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19());
__byps__remoteT.SetObj1(obj1Value, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例4: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteArrayTypes1dim __byps__remoteT = (RemoteArrayTypes1dim)__byps__remote;
BAsyncResultSendMethod<int[]> __byps__outerResult = new BAsyncResultSendMethod<int[]>(__byps__asyncResult, new byps.test.api.BResult_100361105());
__byps__remoteT.GetInt(BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例5: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteMapTypes __byps__remoteT = (RemoteMapTypes)__byps__remote;
BAsyncResultSendMethod<IDictionary<String,DateTime>> __byps__outerResult = new BAsyncResultSendMethod<IDictionary<String,DateTime>>(__byps__asyncResult, new byps.test.api.BResult_1366799209());
__byps__remoteT.GetDate1(BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例6: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemotePrimitiveTypes __byps__remoteT = (RemotePrimitiveTypes)__byps__remote;
BAsyncResultSendMethod<byps.test.api.prim.PrimitiveTypes> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.prim.PrimitiveTypes>(__byps__asyncResult, new byps.test.api.BResult_1000());
__byps__remoteT.GetPrimitiveTypes(BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例7: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteInlineInstance __byps__remoteT = (RemoteInlineInstance)__byps__remote;
BAsyncResultSendMethod<IList<IList<byps.test.api.inl.Point2D>>> __byps__outerResult = new BAsyncResultSendMethod<IList<IList<byps.test.api.inl.Point2D>>>(__byps__asyncResult, new byps.test.api.BResult_1823330785());
__byps__remoteT.GetPoint2DListList(BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例8: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteStreams __byps__remoteT = (RemoteStreams)__byps__remote;
BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19());
__byps__remoteT.SetImages(istrmsValue, doNotReadStreamAtKeyValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例9: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteWithAuthentication __byps__remoteT = (RemoteWithAuthentication)__byps__remote;
BAsyncResultSendMethod<byps.test.api.auth.SessionInfo> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.auth.SessionInfo>(__byps__asyncResult, new byps.test.api.BResult_65775978());
__byps__remoteT.Login(sessValue, userNameValue, userPwdValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例10: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteReferences __byps__remoteT = (RemoteReferences)__byps__remote;
BAsyncResultSendMethod<byps.test.api.refs.Node> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.refs.Node>(__byps__asyncResult, new byps.test.api.BResult_9001());
__byps__remoteT.GetNode(BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例11: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
ClientIF __byps__remoteT = (ClientIF)__byps__remote;
BAsyncResultSendMethod<int> __byps__outerResult = new BAsyncResultSendMethod<int>(__byps__asyncResult, new byps.test.api.BResult_5());
__byps__remoteT.IncrementInt(aValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(0, e);
}
}
示例12: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
FileSystemService __byps__remoteT = (FileSystemService)__byps__remote;
BAsyncResultSendMethod<int> __byps__outerResult = new BAsyncResultSendMethod<int>(__byps__asyncResult, new BResult_5());
__byps__remoteT.BeginWatchFolder(dirValue, recursiveValue, extraInfoValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(0, e);
}
}
示例13: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
FileSystemService __byps__remoteT = (FileSystemService)__byps__remote;
BAsyncResultSendMethod<System.IO.Stream> __byps__outerResult = new BAsyncResultSendMethod<System.IO.Stream>(__byps__asyncResult, new BResult_15());
__byps__remoteT.ReadFile(pathValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例14: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
BUtilityRequests __byps__remoteT = (BUtilityRequests)__byps__remote;
BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new BResult_19());
__byps__remoteT.CancelMessage(messageIdValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(null, e);
}
}
示例15: execute
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
// checkpoint byps.gen.cs.GenApiClass:406
try {
RemoteConstants __byps__remoteT = (RemoteConstants)__byps__remote;
BAsyncResultSendMethod<bool> __byps__outerResult = new BAsyncResultSendMethod<bool>(__byps__asyncResult, new byps.test.api.BResult_1());
__byps__remoteT.Compare_AllTypesC(bool1sValue, bool2sValue, char1sValue, stringNullValue, char2sValue, short1sValue, int1sValue, long1sValue, float1sValue, double1sValue, string1sValue, ALLValue, arrIntValue, arrInt4Value, arrStringsValue, arrStrings4Value, arrAllValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
} catch (Exception e) {
__byps__asyncResult.setAsyncResult(false, e);
}
}