Dev2.DynamicServices.WorkflowActivityDef.Compile C# (CSharp) Method

Compile() public method

public Compile ( ) : bool
return bool
        public override bool Compile()
        {
            base.Compile();

            if (string.IsNullOrEmpty(Name))
            {
                WriteCompileError(Resources.CompilerError_MissingActivityName);
            }

            if (Service == null)
            {
                WriteCompileError(Resources.CompilerError_ServiceNotFound);
            }

            if (string.IsNullOrEmpty(IconPath))
            {
                WriteCompileError(Resources.CompilerError_MissingIconPath);
            }

            return IsCompiled;
        }
    }