Last active
August 29, 2015 14:08
-
-
Save SuperJMN/b98f9971da9f953ded44 to your computer and use it in GitHub Desktop.
MenuOption1
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 Course : ValueObject<Course> | |
{ | |
private readonly string name; | |
private readonly int defaultPriority; | |
public Course(string name, int defaultPriority) | |
{ | |
this.name = name; | |
this.defaultPriority = defaultPriority; | |
} | |
public int DefaultPriority | |
{ | |
get { return defaultPriority; } | |
} | |
public string Name | |
{ | |
get { return name; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment