/// <summary>
        /// Initializes a new instance of the <see cref="WorkflowObject"/> class.
        /// </summary>
        /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
        /// <param name="workflowObjectData"><see cref="T:Tridion.ContentManager.CoreService.Client.WorkflowObjectData" /></param>
        protected WorkflowObject(Client client, WorkflowObjectData workflowObjectData)
            : base(client, workflowObjectData)
        {
            if (workflowObjectData == null)
                throw new ArgumentNullException("workflowObjectData");

            mWorkflowObjectData = workflowObjectData;
        }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="WorkflowObject"/> class.
        /// </summary>
        /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
        /// <param name="workflowObjectData"><see cref="T:Tridion.ContentManager.CoreService.Client.WorkflowObjectData" /></param>
        protected WorkflowObject(Client client, WorkflowObjectData workflowObjectData) : base(client, workflowObjectData)
        {
            if (workflowObjectData == null)
            {
                throw new ArgumentNullException("workflowObjectData");
            }

            mWorkflowObjectData = workflowObjectData;
        }
예제 #3
0
        /// <summary>
        /// Reload the <see cref="WorkflowObject" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.WorkflowObjectData" />
        /// </summary>
        /// <param name="workflowObjectData"><see cref="T:Tridion.ContentManager.CoreService.Client.WorkflowObjectData" /></param>
        protected void Reload(WorkflowObjectData workflowObjectData)
        {
            if (workflowObjectData == null)
            {
                throw new ArgumentNullException("workflowObjectData");
            }

            mWorkflowObjectData = workflowObjectData;
            base.Reload(workflowObjectData);
        }
        /// <summary>
        /// Reload the <see cref="WorkflowObject" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.WorkflowObjectData" />
        /// </summary>
        /// <param name="workflowObjectData"><see cref="T:Tridion.ContentManager.CoreService.Client.WorkflowObjectData" /></param>
        protected void Reload(WorkflowObjectData workflowObjectData)
        {
            if (workflowObjectData == null)
                throw new ArgumentNullException("workflowObjectData");

            mWorkflowObjectData = workflowObjectData;
            base.Reload(workflowObjectData);
        }