default values for model classes

This commit is contained in:
Luke Pulverenti
2013-04-20 21:17:59 -04:00
parent 19d21a246d
commit 2e358a5968
11 changed files with 123 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ namespace MediaBrowser.Model.Dto
/// </summary>
/// <value>The primary image aspect ratio.</value>
public double? PrimaryImageAspectRatio { get; set; }
/// <summary>
/// Gets a value indicating whether this instance has primary image.
/// </summary>
@@ -68,6 +68,17 @@ namespace MediaBrowser.Model.Dto
get { return PrimaryImageTag.HasValue; }
}
/// <summary>
/// Initializes a new instance of the <see cref="UserDto"/> class.
/// </summary>
public UserDto()
{
Configuration = new UserConfiguration();
}
/// <summary>
/// Occurs when [property changed].
/// </summary>
public event PropertyChangedEventHandler PropertyChanged;
}
}