CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
IManageProperties.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="IManageProperties.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>no summary</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
11using System.Threading.Tasks;
12
13namespace Csla.Core
14{
15 internal interface IManageProperties
16 {
17 bool HasManagedProperties { get; }
18 bool FieldExists(Csla.Core.IPropertyInfo property);
19 List<IPropertyInfo> GetManagedProperties();
20 object GetProperty(IPropertyInfo propertyInfo);
21 object LazyGetProperty<P>(PropertyInfo<P> propertyInfo, Func<P> valueGenerator);
22 object LazyGetPropertyAsync<P>(PropertyInfo<P> propertyInfo, Task<P> factory);
23 object ReadProperty(IPropertyInfo propertyInfo);
24 P ReadProperty<P>(PropertyInfo<P> propertyInfo);
25 P LazyReadProperty<P>(PropertyInfo<P> propertyInfo, Func<P> valueGenerator);
26 P LazyReadPropertyAsync<P>(PropertyInfo<P> propertyInfo, Task<P> factory);
27 void SetProperty(IPropertyInfo propertyInfo, object newValue);
28 void LoadProperty(IPropertyInfo propertyInfo, object newValue);
29 bool LoadPropertyMarkDirty(IPropertyInfo propertyInfo, object newValue);
30 void LoadProperty<P>(PropertyInfo<P> propertyInfo, P newValue);
31 List<object> GetChildren();
32 }
33}
Maintains metadata about a property.
@ ReadProperty
Request to read a property value.