• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# HeatDotNet类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中HeatDotNet的典型用法代码示例。如果您正苦于以下问题:C# HeatDotNet类的具体用法?C# HeatDotNet怎么用?C# HeatDotNet使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



HeatDotNet类属于命名空间,在下文中一共展示了HeatDotNet类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: ctor

 public static void ctor(HeatDotNet.MethodInterceptInfo constructorIntercept)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[1];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = constructorIntercept;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod23), "PROCESS", "System.ServiceProcess.ServiceBase.ctor()", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:11,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例2: get_CanShutdown

 public static System.Boolean get_CanShutdown(HeatDotNet.MethodInterceptInfo methodIntercept)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[1];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod12), "PROCESS", "System.ServiceProcess.ServiceBase.get_CanShutdown()", paramObjs, typeof(System.Boolean), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
     return (System.Boolean)retValue;
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例3: ToBoolean

 public static System.Boolean ToBoolean(HeatDotNet.MethodInterceptInfo methodIntercept, System.String s)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = s;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod29), "FILE", "System.Xml.XmlConvert.ToBoolean(String)", paramObjs, typeof(System.Boolean), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
     return (System.Boolean)retValue;
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:13,代码来源:SystemXMLReplacementLibrary35.cs


示例4: GetServices

 public static System.ServiceProcess.ServiceController[] GetServices(HeatDotNet.MethodInterceptInfo methodIntercept, System.String machineName)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = machineName;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod51), "PROCESS", "System.ServiceProcess.ServiceController.GetServices(String)", paramObjs, typeof(System.ServiceProcess.ServiceController[]), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
     return (System.ServiceProcess.ServiceController[])retValue;
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:13,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例5: get_ServiceHandle

 public static System.Runtime.InteropServices.SafeHandle get_ServiceHandle(HeatDotNet.MethodInterceptInfo methodIntercept)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[1];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod35), "PROCESS", "System.ServiceProcess.ServiceController.get_ServiceHandle()", paramObjs, typeof(System.Runtime.InteropServices.SafeHandle), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
     return (System.Runtime.InteropServices.SafeHandle)retValue;
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例6: ToString

 public static System.String ToString(HeatDotNet.MethodInterceptInfo methodIntercept, System.DateTimeOffset value, System.String format)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[3];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = value;
     paramObjs[2] = format;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod27), "FILE", "System.Xml.XmlConvert.ToString(DateTimeOffset, String)", paramObjs, typeof(System.String), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
     return (System.String)retValue;
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:14,代码来源:SystemXMLReplacementLibrary35.cs


示例7: CopyFromComponent

 public static void CopyFromComponent(HeatDotNet.MethodInterceptInfo methodIntercept, System.ComponentModel.IComponent comp)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = comp;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod78), "PROCESS", "System.ServiceProcess.ServiceProcessInstaller.CopyFromComponent(IComponent)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例8: set_Username

 public static void set_Username(HeatDotNet.MethodInterceptInfo methodIntercept, System.String value)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = value;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod77), "PROCESS", "System.ServiceProcess.ServiceProcessInstaller.set_Username(String)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例9: RequestAdditionalTime

 public static void RequestAdditionalTime(HeatDotNet.MethodInterceptInfo methodIntercept, System.Int32 milliseconds)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = milliseconds;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod1), "PROCESS", "System.ServiceProcess.ServiceBase.RequestAdditionalTime(Int32)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例10: set_CanHandleSessionChangeEvent

 public static void set_CanHandleSessionChangeEvent(HeatDotNet.MethodInterceptInfo methodIntercept, System.Boolean value)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = value;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod9), "PROCESS", "System.ServiceProcess.ServiceBase.set_CanHandleSessionChangeEvent(Boolean)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例11: WriteWhitespace

 public static void WriteWhitespace(HeatDotNet.MethodInterceptInfo methodIntercept, System.String ws)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = ws;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod368), "FILE", "System.Xml.XmlTextWriter.WriteWhitespace(String)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemXMLReplacementLibrary35.cs


示例12: ctor

 public static void ctor(HeatDotNet.MethodInterceptInfo constructorIntercept, System.String filename, System.Text.Encoding encoding)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[3];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = constructorIntercept;
     paramObjs[1] = filename;
     paramObjs[2] = encoding;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod391), "FILE", "System.Xml.XmlTextWriter.ctor(String, Encoding)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:13,代码来源:SystemXMLReplacementLibrary35.cs


示例13: WriteSurrogateCharEntity

 public static void WriteSurrogateCharEntity(HeatDotNet.MethodInterceptInfo methodIntercept, System.Char lowChar, System.Char highChar)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[3];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = lowChar;
     paramObjs[2] = highChar;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod370), "FILE", "System.Xml.XmlTextWriter.WriteSurrogateCharEntity(Char, Char)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:13,代码来源:SystemXMLReplacementLibrary35.cs


示例14: WriteStartElement

 public static void WriteStartElement(HeatDotNet.MethodInterceptInfo methodIntercept, System.String prefix, System.String localName, System.String ns)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[4];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = prefix;
     paramObjs[2] = localName;
     paramObjs[3] = ns;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod360), "FILE", "System.Xml.XmlTextWriter.WriteStartElement(String, String, String)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:14,代码来源:SystemXMLReplacementLibrary35.cs


示例15: WriteRaw

 public static void WriteRaw(HeatDotNet.MethodInterceptInfo methodIntercept, System.Char[] buffer, System.Int32 index, System.Int32 count)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[4];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = buffer;
     paramObjs[2] = index;
     paramObjs[3] = count;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod372), "FILE", "System.Xml.XmlTextWriter.WriteRaw(Char[], Int32, Int32)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:14,代码来源:SystemXMLReplacementLibrary35.cs


示例16: WriteDocType

 public static void WriteDocType(HeatDotNet.MethodInterceptInfo methodIntercept, System.String name, System.String pubid, System.String sysid, System.String subset)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[5];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = name;
     paramObjs[2] = pubid;
     paramObjs[3] = sysid;
     paramObjs[4] = subset;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod359), "FILE", "System.Xml.XmlTextWriter.WriteDocType(String, String, String, String)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:15,代码来源:SystemXMLReplacementLibrary35.cs


示例17: get_Namespaces

 public static System.Boolean get_Namespaces(HeatDotNet.MethodInterceptInfo methodIntercept)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[1];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod348), "FILE", "System.Xml.XmlTextWriter.get_Namespaces()", paramObjs, typeof(System.Boolean), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
     return (System.Boolean)retValue;
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:12,代码来源:SystemXMLReplacementLibrary35.cs


示例18: WaitForStatus

 public static void WaitForStatus(HeatDotNet.MethodInterceptInfo methodIntercept, System.ServiceProcess.ServiceControllerStatus desiredStatus, System.TimeSpan timeout)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[3];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = desiredStatus;
     paramObjs[2] = timeout;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod47), "PROCESS", "System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus, TimeSpan)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:13,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例19: ServiceMainCallback

 public static void ServiceMainCallback(HeatDotNet.MethodInterceptInfo methodIntercept, System.Int32 argCount, System.IntPtr argPointer)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[3];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = argCount;
     paramObjs[2] = argPointer;
     SystemServiceProcessReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod20), "PROCESS", "System.ServiceProcess.ServiceBase.ServiceMainCallback(Int32, IntPtr)", paramObjs, typeof(void), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:13,代码来源:SystemServiceProcessReplacementLibrary35.cs


示例20: LookupNamespace

 public static System.String LookupNamespace(HeatDotNet.MethodInterceptInfo methodIntercept, System.String prefix)
 {
     DotNetReplacementLibrary.DisableNativeInterception();
     Object[] paramObjs = new Object[2];
     Object retValue = null;
     Exception exception = null;
     paramObjs[0] = methodIntercept;
     paramObjs[1] = prefix;
     SystemXMLReplacementLibrary35.ReplacementLibrary.RunStandardTestsAndGetResults(new OriginalMethodCaller(CallerMethod423), "FILE", "System.Xml.XmlValidatingReader.LookupNamespace(String)", paramObjs, typeof(System.String), ref retValue, ref exception);
     DotNetReplacementLibrary.EnableNativeInterception();
     if (exception != null) HeatDotNet.Interception.ThrowException(exception);
     return (System.String)retValue;
 }
开发者ID:uvbs,项目名称:Holodeck,代码行数:13,代码来源:SystemXMLReplacementLibrary35.cs



注:本文中的HeatDotNet类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# HeliosActionEventArgs类代码示例发布时间:2022-05-24
下一篇:
C# HeapIndexToken类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap