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

Compile() public method

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

            if (Actions.Count == 0)
            {
                WriteCompileError(Resources.CompilerError_ServiceHasNoActions);
            }

            Actions.ForEach(c =>
            {
                c.Compile();
                c.CompilerErrors.ToList().ForEach(d => CompilerErrors.Add(d));
            });


            return IsCompiled;
        }
    }