2013-06-19 03:40:43 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace CUETools.Codecs
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Default property value for each encoder mode attribute
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
|
|
|
|
|
public class DefaultValueForModeAttribute : Attribute
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Resource manager to use;
|
|
|
|
|
|
/// </summary>
|
2014-12-08 22:18:34 -05:00
|
|
|
|
public object[] m_values;
|
2013-06-19 03:40:43 -04:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Construct the description attribute
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="text"></param>
|
2014-12-08 22:18:34 -05:00
|
|
|
|
public DefaultValueForModeAttribute(params object[] values)
|
2013-06-19 03:40:43 -04:00
|
|
|
|
{
|
|
|
|
|
|
this.m_values = values;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|