Skip to content

Instantly share code, notes, and snippets.

@colinbowern
Created March 20, 2012 20:19
Show Gist options
  • Save colinbowern/2140880 to your computer and use it in GitHub Desktop.
Save colinbowern/2140880 to your computer and use it in GitHub Desktop.
public class ObserveringType
{
// Use Is prefix here because the purpose of this class it to describe the other class
public bool IsEnabled { get; protected set; }
public ObservingType(SomeType type) { ... }
}
public class SomeType
{
// Don't use Is prefix here because you are talking about yourself.
public bool Enabled { get; protected set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment