This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if !EXCLUDE_CODEGEN | |
#pragma warning disable 162 | |
#pragma warning disable 219 | |
#pragma warning disable 414 | |
#pragma warning disable 649 | |
#pragma warning disable 693 | |
#pragma warning disable 1591 | |
#pragma warning disable 1998 | |
[assembly: global::System.CodeDom.Compiler.GeneratedCodeAttribute("Orleans-CodeGenerator", "1.0.0.0")] | |
[assembly: global::Orleans.CodeGeneration.OrleansCodeGenerationTargetAttribute("Orleans, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'te.processhost.managed.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. | |
'te.processhost.managed.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\te.processhost.managed.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. | |
'te.processhost.managed.exe' (CLR v4.0.30319: te.processhost.managed.exe): Loaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\TE.Managed.Manager.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. | |
'te.processhost.managed.exe' (CLR v4.0.30319: te.processhost.managed.exe): Loaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\COMMONEXTENS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics.Contracts; | |
using System.IO; | |
using System.Net.Security; | |
using System.Runtime.ExceptionServices; | |
using System.Security.Authentication; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Threading; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal sealed class TlsHandshakeCompletionEvent | |
{ | |
public static readonly TlsHandshakeCompletionEvent Success = new TlsHandshakeCompletionEvent(); | |
readonly Exception exception; | |
/// <summary> | |
/// Creates a new event that indicates a successful handshake. | |
/// </summary> | |
TlsHandshakeCompletionEvent() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics.Tracing; | |
using System.Fabric; | |
using System.Threading.Tasks; | |
namespace PI.Gateway | |
{ | |
[EventSource(Name = "PI-Gateway")] | |
internal sealed class ServiceEventSource : EventSource | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
$OSPlatform = [System.Runtime.InteropServices.OSPlatform] | |
$IsLinux = $Runtime::IsOSPlatform($OSPlatform::Linux) | |
$IsOSX = $Runtime::IsOSPlatform($OSPlatform::OSX) | |
$IsWindows = $Runtime::IsOSPlatform($OSPlatform::Windows) | |
} catch { | |
# If these are already set, then they're read-only and we're done | |
try { | |
$IsLinux = $false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Data.Common; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
namespace Orleans.SqlUtils | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json; | |
namespace Migratable { | |
[JsonConverter(typeof(MigratableConverter))] | |
public interface IMigratable { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Logger | |
{ | |
public static void Log(object message) | |
{ | |
RegisteredFunction.Invoke<bool>( | |
"Logger.Log", | |
JsonUtil.Serialize(message)); | |
} | |
public static void Error(object error) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IPromiseCallbackHandler | |
{ | |
void SetResult(string json); | |
void SetError(string error); | |
} |
OlderNewer