This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\IISExpress] | |
@="IIS Express Here" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\IISExpress\command] | |
@="D:\\Bin\\StartIISExpress.exe %V" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\IISExpress] | |
@="IIS Express Here" |
This file contains hidden or 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.Collections.Generic; | |
using System.Diagnostics.Contracts; | |
using System.Linq; | |
namespace System.Xml.Linq | |
{ | |
/// <summary> | |
/// Allows select elements from an XElement using a simple path and ignoring namespaces. | |
/// </summary> | |
/// <example> |
This file contains hidden or 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; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or 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 abstract class AsyncUntypedActor : UntypedActor, WithUnboundedStash | |
{ | |
public IStash Stash { get; set; } | |
bool _awaiting; | |
readonly object AwaitingComplete = new object(); | |
protected sealed override void OnReceive(object message) | |
{ | |
if (_awaiting) | |
{ |
This file contains hidden or 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 BundleCollectionExtensions | |
{ | |
public static void AddMultipleDirectories<T>(this BundleCollection bundles, string appRelativePath, params string[] directories) | |
where T : Bundle | |
{ | |
var list = new List<string>(); | |
foreach (var dir in directories) | |
{ | |
bundles.Add<T>(dir); |
This file contains hidden or 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; | |
namespace AttributePerformanceTest | |
{ | |
public sealed class SealedAttribute : Attribute { } | |
public class NotSealedAttribute : Attribute { } | |
public class InheritNotSealedAttribute : NotSealedAttribute { } |