Skip to content

Instantly share code, notes, and snippets.

@modesto
Created February 28, 2017 10:35
Show Gist options
  • Save modesto/8ee8f5b267267671c2283d360445015b to your computer and use it in GitHub Desktop.
Save modesto/8ee8f5b267267671c2283d360445015b to your computer and use it in GitHub Desktop.
Coding conventions sample 2
using System;
namespace System.Collections.Generics
{
partial class ObservableLinkedList<T>
{
public class ObservableLinkedListNode
{
private readonly ObservableLinkedList<T> _parent;
private readonly T _value;
internal ObservableLinkedListNode(ObservableLinkedList<T> parent, T value)
{
Debug.Assert(parent != null);
_parent = parent;
_value = value;
}
public T Value
{
get { return _value; }
}
}
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment