diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-20 20:33:05 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-20 20:33:05 -0500 |
| commit | 767cdc1f6f6a63ce997fc9476911e2c361f9d402 (patch) | |
| tree | 49add55976f895441167c66cfa95e5c7688d18ce /MediaBrowser.Model/Globalization | |
| parent | 845554722efaed872948a9e0f7202e3ef52f1b6e (diff) | |
Pushing missing changes
Diffstat (limited to 'MediaBrowser.Model/Globalization')
| -rw-r--r-- | MediaBrowser.Model/Globalization/CountryInfo.cs | 39 | ||||
| -rw-r--r-- | MediaBrowser.Model/Globalization/CultureDto.cs | 39 |
2 files changed, 78 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Globalization/CountryInfo.cs b/MediaBrowser.Model/Globalization/CountryInfo.cs new file mode 100644 index 000000000..b95252763 --- /dev/null +++ b/MediaBrowser.Model/Globalization/CountryInfo.cs @@ -0,0 +1,39 @@ +using ProtoBuf; + +namespace MediaBrowser.Model.Globalization +{ + /// <summary> + /// Class CountryInfo + /// </summary> + [ProtoContract] + public class CountryInfo + { + /// <summary> + /// Gets or sets the name. + /// </summary> + /// <value>The name.</value> + [ProtoMember(1)] + public string Name { get; set; } + + /// <summary> + /// Gets or sets the display name. + /// </summary> + /// <value>The display name.</value> + [ProtoMember(2)] + public string DisplayName { get; set; } + + /// <summary> + /// Gets or sets the name of the two letter ISO region. + /// </summary> + /// <value>The name of the two letter ISO region.</value> + [ProtoMember(3)] + public string TwoLetterISORegionName { get; set; } + + /// <summary> + /// Gets or sets the name of the three letter ISO region. + /// </summary> + /// <value>The name of the three letter ISO region.</value> + [ProtoMember(4)] + public string ThreeLetterISORegionName { get; set; } + } +} diff --git a/MediaBrowser.Model/Globalization/CultureDto.cs b/MediaBrowser.Model/Globalization/CultureDto.cs new file mode 100644 index 000000000..cd9507026 --- /dev/null +++ b/MediaBrowser.Model/Globalization/CultureDto.cs @@ -0,0 +1,39 @@ +using ProtoBuf; + +namespace MediaBrowser.Model.Globalization +{ + /// <summary> + /// Class CultureDto + /// </summary> + [ProtoContract] + public class CultureDto + { + /// <summary> + /// Gets or sets the name. + /// </summary> + /// <value>The name.</value> + [ProtoMember(1)] + public string Name { get; set; } + + /// <summary> + /// Gets or sets the display name. + /// </summary> + /// <value>The display name.</value> + [ProtoMember(2)] + public string DisplayName { get; set; } + + /// <summary> + /// Gets or sets the name of the two letter ISO language. + /// </summary> + /// <value>The name of the two letter ISO language.</value> + [ProtoMember(3)] + public string TwoLetterISOLanguageName { get; set; } + + /// <summary> + /// Gets or sets the name of the three letter ISO language. + /// </summary> + /// <value>The name of the three letter ISO language.</value> + [ProtoMember(4)] + public string ThreeLetterISOLanguageName { get; set; } + } +} |
