using System;
using System.Collections.Generic;
namespace Xamarin.PropertyEditing
{
public class InputMode
{
public InputMode (string identifier, bool isSingleValue = false)
{
if (identifier == null)
throw new ArgumentNullException (nameof(identifier));
Identifier = identifier;
IsSingleValue = isSingleValue;
}
public string Identifier
{
get;
}
public bool IsSingleValue
{
get;
}
}
///
/// Indicates a property has input modes.
///
///
/// Implemented on instances.
///
public interface IHaveInputModes
{
IReadOnlyList InputModes { get; }
}
}