//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System.Globalization;
namespace System.IdentityModel.Metadata
{
///
/// Defines the localized entry.
///
public abstract class LocalizedEntry
{
CultureInfo language;
///
/// Empty constructor.
///
protected LocalizedEntry()
: this(null)
{
}
///
/// Constructor that uses a .
///
/// The for this instance.
protected LocalizedEntry(CultureInfo language)
{
this.language = language;
}
///
/// Gets or sets the .
///
/// If value is null.
public CultureInfo Language
{
get { return this.language; }
set
{
if (value == null)
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("value");
}
this.language = value;
}
}
}
}