Interface IChange
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Base interface for a description of a change to an object.
public interface IChange
Properties
ChangeToken
Gets a value that specifies a change token that identifies the changed object.
IChangeToken ChangeToken { get; }
Property Value
ChangeType
Gets a value that specifies the type of the change that has been made to the object.
ChangeType ChangeType { get; }
Property Value
SiteId
Gets a value that identifies the site that contains the changed object.
Guid SiteId { get; }
Property Value
Time
Gets a value that specifies the time that the object was modified.
DateTime Time { get; }
Property Value
Methods
IsPropertyAvailable<TModel>(Expression<Func<TModel, object>>)
Checks if a property was loaded or not
bool IsPropertyAvailable<TModel>(Expression<Func<TModel, object>> expression)
Parameters
expressionExpression<Func<TModel, object>>An expression defining the property to check (e.g. p => p.Property)
Returns
Type Parameters
TModelThe entity derived from IChange that you're checking the property for