Boo.BooLangStudio.RegisterMsBuildTargetsAttribute.Register C# (CSharp) Method

Register() public method

public Register ( RegistrationContext context ) : void
context RegistrationContext
return void
        public override void Register(RegistrationContext context)
        {
            if (context == null) throw new ArgumentException("Bad context to register Boo MsBuild task.");
            Key key = context.CreateKey(_safeImportPath);
            key.SetValue(_regLabel, _targetPath);
            key.Close();
        }