// -----------------------------------------------------------------------
//
// Copyright 2015 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex
{
using System;
///
/// A registered binding in a .
///
internal class PriorityBindingEntry : IDisposable
{
///
/// The binding subscription.
///
private IDisposable subscription;
///
/// Initializes a new instance of the class.
///
///
/// The binding index. Later bindings should have higher indexes.
///
public PriorityBindingEntry(int index)
{
this.Index = index;
}
///
/// Gets the observable associated with the entry.
///
public IObservable