Class SetContentStateAction
Set the IContent's id the user is going to play on. This needs to be set before all
IService and the actual IContent are loaded.
Inheritance
SetContentStateAction
Assembly: cs.temp.dll.dll
Syntax
public class SetContentStateAction : IStateAction
Constructors
SetContentStateAction()
Declaration
public SetContentStateAction()
Fields
_contentId
Declaration
protected string _contentId
Field Value
_typesToDispatchAs
Declaration
protected Type[] _typesToDispatchAs
Field Value
_userSavedData
Declaration
protected IUserSavedData _userSavedData
Field Value
Properties
ContentId
Declaration
public virtual string ContentId { get; }
Property Value
TypesToDispatchAs
Declaration
public virtual Type[] TypesToDispatchAs { get; }
Property Value
UserSavedData
Declaration
public virtual IUserSavedData UserSavedData { get; }
Property Value
Methods
Apply()
Declaration
public virtual void Apply()
Initialize(String)
Declaration
public virtual void Initialize(string contentId)
Parameters
Type |
Name |
Description |
String |
contentId |
|
Inject(IResolver)
Declaration
public virtual void Inject(IResolver resolver)
Parameters
Type |
Name |
Description |
IResolver |
resolver |
|
ResetAction()
Declaration
public virtual void ResetAction()