| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- // Copyright (c) The Perspex Project. All rights reserved.
- // Licensed under the MIT license. See licence.md file in the project root for full license information.
- using System;
- using System.Reactive.Subjects;
- using Perspex.Collections;
- using Perspex.Controls;
- namespace Perspex.Styling.UnitTests
- {
- public class TestControlBase : IStyleable
- {
- public TestControlBase()
- {
- Classes = new Classes();
- SubscribeCheckObservable = new TestObservable();
- }
- public string Name { get; set; }
- public virtual Classes Classes { get; set; }
- public Type StyleKey => GetType();
- public TestObservable SubscribeCheckObservable { get; private set; }
- public ITemplatedControl TemplatedParent
- {
- get;
- set;
- }
- public IPropertyBag InheritanceParent
- {
- get
- {
- throw new NotImplementedException();
- }
- }
- IPerspexReadOnlyList<string> IStyleable.Classes => Classes;
- public IDisposable Bind(PerspexProperty property, IObservable<object> source, BindingPriority priority)
- {
- throw new NotImplementedException();
- }
- public void SetValue(PerspexProperty property, object value, BindingPriority priority)
- {
- throw new NotImplementedException();
- }
- public IObservable<object> GetObservable(PerspexProperty property)
- {
- throw new NotImplementedException();
- }
- public bool IsRegistered(PerspexProperty property)
- {
- throw new NotImplementedException();
- }
- public void ClearValue(PerspexProperty property)
- {
- throw new NotImplementedException();
- }
- public object GetValue(PerspexProperty property)
- {
- throw new NotImplementedException();
- }
- public bool IsSet(PerspexProperty property)
- {
- throw new NotImplementedException();
- }
- public IDisposable Bind<T>(PerspexProperty<T> property, IObservable<T> source, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public IObservable<T> GetObservable<T>(PerspexProperty<T> property)
- {
- throw new NotImplementedException();
- }
- public T GetValue<T>(PerspexProperty<T> property)
- {
- throw new NotImplementedException();
- }
- public void SetValue<T>(PerspexProperty<T> property, T value, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public IDisposable BindTwoWay(PerspexProperty property, PerspexObject source, PerspexProperty sourceProperty, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public IDisposable BindTwoWay(PerspexProperty property, ISubject<object> source, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- }
- }
|