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 class BrilliantLogger | |
{ | |
... | |
Dictionary<string,string> _selectedCategories; | |
... | |
public void Log(string message, string logCategory) | |
{ |
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 class When_Updating_Registration_On_Registered_Client : With<Client> | |
{ | |
protected override IEnumerable<IEvent> Given() | |
{ | |
yield return new ClientRegisteredEvent("1234", "http://my.channel.com"); | |
} | |
protected override void When(Client client) | |
{ | |
client.UpdateRegistration("http://new.channel.com"); |
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
# Output directories # | |
###################### | |
[bB]in | |
[dD]ebug | |
[rR]elease | |
[oO]bj | |
[bB]uild[aA]rtifacts | |
# Data # | |
######## |
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
POST http://localhost:2835/BindByType/FirstType | |
Content-Type: application/json | |
Content-Length: 49 | |
{ | |
"Prop1":"Testing", | |
"Prop2":"Second Test" | |
} | |
----- |
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 class MyMessage : IMessage | |
{ | |
public string OneValue { get; set; } | |
public PropertyBase[] Properties { get; set; } | |
} | |
public class PropertyBase | |
{ | |
} |
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 class TestModule :NancyModule | |
{ | |
public TestModule() | |
{ | |
Get["/failing"] = _ => "åäö"; | |
Get["/working"] = _ => | |
{ | |
Response resp = "åäö"; | |
resp.ContentType += "; charset=utf-8"; |
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
We are working with a company passionate about helping their clients establishing an integrated approach to the organization's information needs and information management to get the optimal use of information. |
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
// Just nu ser mina Command Handlers ut så här: | |
public class CreateBookingCommandHandler : IHandleMessages<CreateBooking> | |
{ | |
private readonly IRepository _repository; | |
public CreateBookingCommandHandler(IRepository repository) | |
{ | |
_repository = repository; | |
} |
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
<common:LayoutAwarePage | |
x:Class="Kodkaffe.App.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:Kodkaffe.App" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:common="using:Kodkaffe.App.Common" | |
mc:Ignorable="d" | |
DataContext="{Binding Main, Source={StaticResource Locator}}"> |
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
Building for .NET 3.5 | |
Microsoft (R) Build Engine version 4.0.30319.17929 | |
[Microsoft .NET Framework, version 4.0.30319.18034] | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
Build started 2013-01-25 16:00:52. | |
Project "C:\Users\1910\Documents\GitHub\MassTransit\src\MassTransit.sln" on node 1 (Clean;Build target(s)). | |
ValidateSolutionConfiguration: | |
Building solution configuration "Release|Any CPU". |
OlderNewer