Table of Contents

Class ItemContext

Namespace
Dynamicweb.Content.Items
Assembly
Dynamicweb.dll
public sealed class ItemContext : IDisposable
Inheritance
ItemContext
Implements
Inherited Members

Constructors

ItemContext(Entity<int>)

public ItemContext(Entity<int> context)

Parameters

context Entity<int>

ItemContext(DbObject)

Creates an items context instance

public ItemContext(DbObject context)

Parameters

context DbObject

Item based object

Fields

Id

public readonly int Id

Field Value

int

IsPageProperty

public bool IsPageProperty

Field Value

bool

SynchronizePages

public bool SynchronizePages

Field Value

bool

Type

public readonly Type Type

Field Value

Type

Properties

Current

Gets the current instance of the Item rendering context.

public static ItemContext Current { get; }

Property Value

ItemContext

The current.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

IsContext(Entity<int>)

Determines whether the specified object is context.

public bool IsContext(Entity<int> obj)

Parameters

obj Entity<int>

Instance of item based type.

Returns

bool

True/False

IsContext(DbObject)

Determines whether the specified object is context.

public bool IsContext(DbObject obj)

Parameters

obj DbObject

Instance of item based type.

Returns

bool

True/False

To top