-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathProjectTreePartial.cs
More file actions
32 lines (29 loc) · 958 Bytes
/
ProjectTreePartial.cs
File metadata and controls
32 lines (29 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
namespace ImmutableObjectGraph.Generation.Tests.TestSources
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Validation;
[DebuggerDisplay("{Caption} ({Identity})")]
partial class ProjectTree
{
public static IReadOnlyList<DiffGram> GetDelta(ProjectTree before, ProjectTree after)
{
return after.ChangesSince(before);
}
static partial void CreateDefaultTemplate(ref ProjectTree.Template template)
{
template.Children = ImmutableList.Create<ProjectTree>();
template.Capabilities = ImmutableHashSet.Create<string>(StringComparer.OrdinalIgnoreCase);
template.Visible = true;
}
public override string ToString()
{
return this.Caption;
}
}
}