mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
51 lines
1.5 KiB
C#
51 lines
1.5 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Microsoft.Iris.Markup.PropertySchema
|
|
// Assembly: UIX, Version=4.8.0.0, Culture=neutral, PublicKeyToken=ddd0da4d3e678217
|
|
// MVID: A56C6C9D-B7F6-46A9-8BDE-B3D9B8D60B11
|
|
// Assembly location: C:\Program Files\Zune\UIX.dll
|
|
|
|
using Microsoft.Iris.Library;
|
|
|
|
namespace Microsoft.Iris.Markup
|
|
{
|
|
public abstract class PropertySchema : DisposableObject
|
|
{
|
|
public readonly static PropertySchema[] EmptyList = System.Array.Empty<PropertySchema>();
|
|
private readonly TypeSchema _owner;
|
|
|
|
public PropertySchema(TypeSchema owner)
|
|
{
|
|
_owner = owner;
|
|
DeclareOwner(owner);
|
|
}
|
|
|
|
public TypeSchema Owner => _owner;
|
|
|
|
public abstract string Name { get; }
|
|
|
|
public abstract TypeSchema PropertyType { get; }
|
|
|
|
public abstract TypeSchema AlternateType { get; }
|
|
|
|
public abstract bool CanRead { get; }
|
|
|
|
public abstract bool CanWrite { get; }
|
|
|
|
public abstract bool IsStatic { get; }
|
|
|
|
public abstract ExpressionRestriction ExpressionRestriction { get; }
|
|
|
|
public abstract bool RequiredForCreation { get; }
|
|
|
|
public abstract RangeValidator RangeValidator { get; }
|
|
|
|
public abstract bool NotifiesOnChange { get; }
|
|
|
|
public abstract object GetValue(object instance);
|
|
|
|
public abstract void SetValue(ref object instance, object value);
|
|
|
|
public override string ToString() => $"{Owner.Name}.{Name}";
|
|
}
|
|
}
|