Compartir a través de


CategorySnapshot Class

Definition

Implementation for ICategorySnapshot

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.Framework.ProjectModelEntityJsonConverter), new System.Object[] { Mono.Cecil.CustomAttributeArgument })]
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1, 1 })]
public class CategorySnapshot : Microsoft.VisualStudio.ProjectSystem.Query.Framework.EntityValueWithId<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot,Microsoft.VisualStudio.ProjectSystem.Query.Framework.CategoryPropertiesAvailableStatus>, Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot, Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.Framework.ProjectModelEntityJsonConverter), new System.Object[] { Mono.Cecil.CustomAttributeArgument })>]
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1, 1 })>]
type CategorySnapshot = class
    inherit EntityValueWithId<ICategorySnapshot, CategoryPropertiesAvailableStatus>
    interface ICategorySnapshot
    interface IEntityWithId<ICategorySnapshot>
    interface IEntityWithId
    interface IEntity
Public Class CategorySnapshot
Inherits EntityValueWithId(Of ICategorySnapshot, CategoryPropertiesAvailableStatus)
Implements ICategorySnapshot, IEntityWithId(Of ICategorySnapshot)
Inheritance
Attributes
Newtonsoft.Json.JsonConverterAttribute NullableAttribute
Implements

Constructors

CategorySnapshot(IEntityRuntimeModel, EntityIdentity, CategoryPropertiesAvailableStatus)
CategorySnapshot(IEntityRuntimeModel, EntityIdentity)

Properties

DisplayName
EntityRuntime (Inherited from EntityValueBase)
Id (Inherited from EntityValueWithId)
IsFrozen

Gets whether the object is immutable. Once the entity values are initialized, it will be frozen and become immutable.

(Inherited from EntityValueBase)
Name
Order
PropertiesAvailableStatus
SelfQuery

Gets a base query to query information under this entity.

(Inherited from EntityValueWithId<TEntity,TPropertiesAvailableStatus>)
Site

Gets the site of the entity. (It is a part of infrastructure to attach additional collections to it.

(Inherited from EntityValueBase)

Methods

AsQueryable() (Inherited from EntityValueWithId<TEntity,TPropertiesAvailableStatus>)
ConvertChildrenCollection<TChildType>(IEnumerable<IEntityValue>)

Converts a generic children collection to a specific collection.

(Inherited from EntityValueBase)
EnsureMutable()

Check and throw, if the object is set to readonly.

(Inherited from EntityValueBase)
EnsurePropertyMarkedAsAvailable(IEntityProperty)

Ensures the property is marked as available.

(Inherited from EntityValueBase)
Freeze()

Freeze the entity value object, so it cannot be changed.

(Inherited from EntityValueBase)
GetEntityType()
GetPropertiesAvailableStatus(Boolean) (Inherited from EntityValueWithId<TEntity,TPropertiesAvailableStatus>)
ReadProperty(String, JsonReader) (Inherited from EntityValueWithId)
SetRelatedEntities(String, IEnumerable<IEntityValue>)
ToString() (Inherited from EntityValueWithId)
TryGetRelatedEntities(String, IEnumerable<IEntity>)

Explicit Interface Implementations

IEntity.PropertiesAvailableStatus (Inherited from EntityValueBase)
IEntityValue.LimitAvailableProperties(IPropertiesAvailableStatus) (Inherited from EntityValueBase)
IEntityValue.SetRelatedEntities(String, IReadOnlyCollection<IEntityValue>) (Inherited from EntityValueBase)
IEntityValue.SetSite(IEntitySite) (Inherited from EntityValueBase)
IEntityValue.TryGetRelatedEntities(String, IEnumerable<IEntityValue>) (Inherited from EntityValueBase)
IEntityValueFromProvider.ProviderState (Inherited from EntityValueBase)
IFreezable.IsFrozen (Inherited from EntityValueBase)

Applies to