Boo.BooLangStudio.RegisterMsBuildTargetsAttribute.Register C# (CSharp) Méthode

Register() public méthode

public Register ( RegistrationContext context ) : void
context RegistrationContext
Résultat 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();
        }