A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

45 lines
966 B

// -----------------------------------------------------------------------
// <copyright file="Match.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex
{
using System;
using Perspex.Controls;
public class Match
{
public Control Control
{
get;
set;
}
public IObservable<bool> Observable
{
get;
set;
}
public Match Previous
{
get;
set;
}
public string Token
{
get;
set;
}
public override string ToString()
{
string result = (this.Previous != null) ? this.Previous.ToString() : string.Empty;
result += this.Token;
return result;
}
}
}