Class PromotionContext
Context for a server method which runs on a life cycle promotion
Inheritance
System.Object
PromotionContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public class PromotionContext : IPromotionContext, ISingleItemContext, IContext
Constructors
| Improve this Doc View SourcePromotionContext(IServerConnection, IReadOnlyItem)
Initializes a new instance of the PromotionContext class.
Declaration
public PromotionContext(IServerConnection conn, IReadOnlyItem item)
Parameters
Type | Name | Description |
---|---|---|
IServerConnection | conn | The connection. |
IReadOnlyItem | item | The item. |
Properties
| Improve this Doc View SourceConn
Connection to the database
Declaration
public IServerConnection Conn { get; }
Property Value
Type | Description |
---|---|
IServerConnection |
Implements
| Improve this Doc View SourceItem
Item that method should act on
Declaration
public IReadOnlyItem Item { get; }
Property Value
Type | Description |
---|---|
IReadOnlyItem |
Implements
| Improve this Doc View SourceTransition
The Life Cycle transition which is taking place
Declaration
public LifeCycleTransition Transition { get; }
Property Value
Type | Description |
---|---|
LifeCycleTransition |