Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

spaces -> tabs

  • Loading branch information...
commit 486723341d4153cb176958cac64c8567020e5819 1 parent a285bb8
@ayende ayende authored
Showing with 26 additions and 26 deletions.
  1. +26 −26 Raven.Tests/MailingList/Victor.cs
View
52 Raven.Tests/MailingList/Victor.cs
@@ -8,39 +8,39 @@ public class Victor : RavenTest
{
public class Item
{
- public string Id { get; set; }
- public Attribute[] Attributes { get; set; }
- }
+ public string Id { get; set; }
+ public Attribute[] Attributes { get; set; }
+ }
- public class Attribute
- {
- public Attribute(string name, decimal value)
- {
- Name = name;
- Value = value;
- }
+ public class Attribute
+ {
+ public Attribute(string name, decimal value)
+ {
+ Name = name;
+ Value = value;
+ }
- public string Name { get; set; }
- public decimal Value { get; set; }
- }
+ public string Name { get; set; }
+ public decimal Value { get; set; }
+ }
- public class WithDynamicIndex : AbstractIndexCreationTask<Item>
- {
- public WithDynamicIndex()
- {
- Map = items =>
- from item in items
- select new
- {
- _ = item.Attributes.Select(x => CreateField(x.Name, x.Value))
- };
- }
- }
+ public class WithDynamicIndex : AbstractIndexCreationTask<Item>
+ {
+ public WithDynamicIndex()
+ {
+ Map = items =>
+ from item in items
+ select new
+ {
+ _ = item.Attributes.Select(x => CreateField(x.Name, x.Value))
+ };
+ }
+ }
[Fact]
public void CanSortDynamicaly()
{
- using(var store = NewDocumentStore())
+ using (var store = NewDocumentStore())
{
new WithDynamicIndex().Execute(store);
using (var s = store.OpenSession())
Please sign in to comment.
Something went wrong with that request. Please try again.