NAnt.Core.Tasks.MailTask.Initialize C# (CSharp) 메소드

Initialize() 보호된 메소드

Initializes task and ensures the supplied attributes are valid.
protected Initialize ( ) : void
리턴 void
        protected override void Initialize()
        {
            if (StringUtils.IsNullOrEmpty(ToList) && StringUtils.IsNullOrEmpty(CcList) && StringUtils.IsNullOrEmpty(BccList)) {
                throw new BuildException("There must be at least one name in"
                    + " the \"tolist\", \"cclist\" or \"bcclist\" attributes"
                    + " of the <mail> task.", Location);
            }
        }