当前位置: 首页>>代码示例>>C#>>正文


C# HeatDotNet类代码示例

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


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


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