本文整理汇总了C#中_System类的典型用法代码示例。如果您正苦于以下问题:C# _System类的具体用法?C# _System怎么用?C# _System使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
_System类属于命名空间,在下文中一共展示了_System类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Show
public void Show(_System.FileExplorer.eExplorerType FileExplorer, string Data = "")
{
this.ViewState[CnsData] = Data;
this.FileExplorerHolder1.Url = "~/System/FileExplorer.aspx?ExplorerType=" + ((int)FileExplorer).ToString();
this.EODialog_BrowseFile.ClientSideOnAccept = "Selection_Accept_" + this.ClientID;
this.EODialog_BrowseFile.Show();
try
{ this.EOCbp_BrowseFile.Update(); }
catch { }
}
示例2: begin_GetUserList
public Ice.AsyncResult<MCS.Callback_UserManagement_GetUserList> begin_GetUserList(int nBegin, int nCount, int session, _System.Collections.Generic.Dictionary<string, string> ctx__)
{
return begin_GetUserList(nBegin, nCount, session, ctx__, true, null, null);
}
示例3: EraseDataUpdater
public void EraseDataUpdater(MCS.GuiDataUpdaterPrx updater, _System.Collections.Generic.Dictionary<string, string> context__)
{
EraseDataUpdater(updater, context__, true);
}
示例4: checkedCast
public static GuiDataUpdaterPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
{
if(b == null)
{
return null;
}
GuiDataUpdaterPrx r = b as GuiDataUpdaterPrx;
if((r == null) && b.ice_isA(ice_staticId(), ctx))
{
GuiDataUpdaterPrxHelper h = new GuiDataUpdaterPrxHelper();
h.copyFrom__(b);
r = h;
}
return r;
}
示例5: begin_UpdateData
private Ice.AsyncResult<MCS.Callback_GuiDataUpdater_UpdateData> begin_UpdateData(long time, MCS.GuiDataItem data, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
{
IceInternal.OnewayOutgoingAsync<MCS.Callback_GuiDataUpdater_UpdateData> result__ = new IceInternal.OnewayOutgoingAsync<MCS.Callback_GuiDataUpdater_UpdateData>(this, __UpdateData_name, UpdateData_completed__, cookie__);
if(cb__ != null)
{
result__.whenCompletedWithAsyncCallback(cb__);
}
try
{
result__.prepare__(__UpdateData_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
IceInternal.BasicStream os__ = result__.ostr__;
os__.writeLong(time);
if(data == null)
{
MCS.GuiDataItem tmp__ = new MCS.GuiDataItem();
tmp__.write__(os__);
}
else
{
data.write__(os__);
}
os__.endWriteEncaps();
result__.send__(true);
}
catch(Ice.LocalException ex__)
{
result__.exceptionAsync__(ex__);
}
return result__;
}
示例6: SetUserRight
public int SetUserRight(int nUID, int nRight, int session, _System.Collections.Generic.Dictionary<string, string> context__)
{
Ice.Current current__ = new Ice.Current();
initCurrent__(ref current__, "SetUserRight", Ice.OperationMode.Idempotent, context__);
int result__ = 0;
IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
{
UserManagement servant__ = null;
try
{
servant__ = (UserManagement)obj__;
}
catch(_System.InvalidCastException)
{
throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
}
result__ = servant__.SetUserRight(nUID, nRight, session, current__);
return Ice.DispatchStatus.DispatchOK;
};
IceInternal.Direct direct__ = null;
try
{
direct__ = new IceInternal.Direct(current__, run__);
try
{
Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
_System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
}
finally
{
direct__.destroy();
}
}
catch(Ice.SystemException)
{
throw;
}
catch(_System.Exception ex__)
{
IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
}
return result__;
}
示例7: SetDataUpdater
public void SetDataUpdater(MCS.GuiDataUpdaterPrx updater, _System.Collections.Generic.Dictionary<string, string> context__)
{
Ice.Current current__ = new Ice.Current();
initCurrent__(ref current__, "SetDataUpdater", Ice.OperationMode.Idempotent, context__);
IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
{
GuiDataHub servant__ = null;
try
{
servant__ = (GuiDataHub)obj__;
}
catch(_System.InvalidCastException)
{
throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
}
servant__.SetDataUpdater(updater, current__);
return Ice.DispatchStatus.DispatchOK;
};
IceInternal.Direct direct__ = null;
try
{
direct__ = new IceInternal.Direct(current__, run__);
try
{
Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
_System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
}
finally
{
direct__.destroy();
}
}
catch(Ice.SystemException)
{
throw;
}
catch(_System.Exception ex__)
{
IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
}
}
示例8: begin_SetUserRight
public Ice.AsyncResult begin_SetUserRight(int nUID, int nRight, int session, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
{
return begin_SetUserRight(nUID, nRight, session, ctx__, true, cb__, cookie__);
}
示例9: begin_Logout
public Ice.AsyncResult begin_Logout(int session, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
{
return begin_Logout(session, ctx__, true, cb__, cookie__);
}
示例10: begin_Login
public Ice.AsyncResult begin_Login(string user, string pass, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
{
return begin_Login(user, pass, ctx__, true, cb__, cookie__);
}
示例11: UpdateData
public void UpdateData(long time, MCS.GuiDataItem data, _System.Collections.Generic.Dictionary<string, string> context__)
{
throw new Ice.CollocationOptimizationException();
}
示例12: WriteData
public int WriteData(MCS.GuiHub.GuiCommand Tag, string Val, int session, _System.Collections.Generic.Dictionary<string, string> context__)
{
Ice.Current current__ = new Ice.Current();
initCurrent__(ref current__, "WriteData", Ice.OperationMode.Idempotent, context__);
int result__ = 0;
IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
{
GuiDataHub servant__ = null;
try
{
servant__ = (GuiDataHub)obj__;
}
catch(_System.InvalidCastException)
{
throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
}
result__ = servant__.WriteData(Tag, Val, session, current__);
return Ice.DispatchStatus.DispatchOK;
};
IceInternal.Direct direct__ = null;
try
{
direct__ = new IceInternal.Direct(current__, run__);
try
{
Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
_System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
}
finally
{
direct__.destroy();
}
}
catch(Ice.SystemException)
{
throw;
}
catch(_System.Exception ex__)
{
IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
}
return result__;
}
示例13: UpdateData_async
public bool UpdateData_async(MCS.AMI_GuiDataUpdater_UpdateData cb__, long time, MCS.GuiDataItem data, _System.Collections.Generic.Dictionary<string, string> ctx__)
{
Ice.AsyncResult<MCS.Callback_GuiDataUpdater_UpdateData> result__ = begin_UpdateData(time, data, ctx__);
result__.whenCompleted(cb__.response__, cb__.exception__);
if(cb__ is Ice.AMISentCallback)
{
result__.whenSent((Ice.AsyncCallback)cb__.sent__);
}
return result__.sentSynchronously();
}
示例14: SetPushCmd
public int SetPushCmd(MCS.GuiDataUpdaterPrx updater, MCS.GuiHub.PushData[] list, int session, _System.Collections.Generic.Dictionary<string, string> context__)
{
IceInternal.Outgoing og__ = handler__.getOutgoing("SetPushCmd", Ice.OperationMode.Idempotent, context__);
try
{
try
{
IceInternal.BasicStream os__ = og__.ostr();
MCS.GuiDataUpdaterPrxHelper.write__(os__, updater);
if(list == null)
{
os__.writeSize(0);
}
else
{
os__.writeSize(list.Length);
for(int ix__ = 0; ix__ < list.Length; ++ix__)
{
os__.writeByte((byte)list[ix__], 10);
}
}
os__.writeInt(session);
}
catch(Ice.LocalException ex__)
{
og__.abort(ex__);
}
bool ok__ = og__.invoke();
try
{
if(!ok__)
{
try
{
og__.throwUserException();
}
catch(Ice.UserException ex__)
{
throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
}
}
IceInternal.BasicStream is__ = og__.istr();
is__.startReadEncaps();
int ret__;
ret__ = is__.readInt();
is__.endReadEncaps();
return ret__;
}
catch(Ice.LocalException ex__)
{
throw new IceInternal.LocalExceptionWrapper(ex__, false);
}
}
finally
{
handler__.reclaimOutgoing(og__);
}
}
示例15: GetUserList
public MCS.User[] GetUserList(int nBegin, int nCount, int session, _System.Collections.Generic.Dictionary<string, string> context__)
{
IceInternal.Outgoing og__ = handler__.getOutgoing("GetUserList", Ice.OperationMode.Idempotent, context__);
try
{
try
{
IceInternal.BasicStream os__ = og__.ostr();
os__.writeInt(nBegin);
os__.writeInt(nCount);
os__.writeInt(session);
}
catch(Ice.LocalException ex__)
{
og__.abort(ex__);
}
bool ok__ = og__.invoke();
try
{
if(!ok__)
{
try
{
og__.throwUserException();
}
catch(Ice.UserException ex__)
{
throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
}
}
IceInternal.BasicStream is__ = og__.istr();
is__.startReadEncaps();
MCS.User[] ret__;
{
int szx__ = is__.readAndCheckSeqSize(9);
ret__ = new MCS.User[szx__];
for(int ix__ = 0; ix__ < szx__; ++ix__)
{
ret__[ix__] = new MCS.User();
ret__[ix__].read__(is__);
}
}
is__.endReadEncaps();
return ret__;
}
catch(Ice.LocalException ex__)
{
throw new IceInternal.LocalExceptionWrapper(ex__, false);
}
}
finally
{
handler__.reclaimOutgoing(og__);
}
}