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
[CompilerGenerated] | |
private sealed class <Zip>d__0<T1, T2> : IEnumerable<KeyValuePair<T1, T2>>, IEnumerable, IEnumerator<KeyValuePair<T1, T2>>, IEnumerator, IDisposable | |
{ | |
// Fields | |
private int <>1__state; | |
private KeyValuePair<T1, T2> <>2__current; | |
public IEnumerable<T1> <>3__first; | |
public IEnumerable<T2> <>3__second; | |
private int <>l__initialThreadId; | |
public IEnumerator<T1> <firstEnumerator>5__1; |
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 LocalizationHelpers | |
{ | |
public static string Resource(this HtmlHelper htmlhelper, string expression, params object[] args) | |
{ | |
string virtualPath = GetVirtualPath(htmlhelper); | |
return GetResourceString(htmlhelper.ViewContext.HttpContext, expression, virtualPath, args); | |
} | |
public static string Resource(this Controller controller, string expression, params object[] args) |
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.Runtime.InteropServices; | |
using System.Security; | |
using System.Collections; | |
using System.Windows.Forms; | |
namespace ListNetworkComputers | |
{ | |
#region NetworkBrowser CLASS | |
/// <summary> |
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
namespace CpuUsage | |
{ | |
using System; | |
using System.Diagnostics; | |
public class CpuMeter : IDisposable | |
{ | |
private CounterSample _startSample; | |
private readonly PerformanceCounter _cnt; | |