public override void Register(RegistrationAttribute.RegistrationContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            string name = @"TextTemplating\IncludeFolders\" + this.Extension;

            using (RegistrationAttribute.Key key = context.CreateKey(name))
            {
                if (key != null)
                {
                    string str2 = context.EscapePath(this.Folder);
                    if (!Path.IsPathRooted(this.Folder) && !Regex.Match(this.Folder, @"^%\w+%", RegexOptions.Singleline).Success)
                    {
                        str2 = context.EscapePath(Path.Combine(context.ComponentPath, this.Folder));
                    }
                    key.SetValue(string.Format(CultureInfo.InvariantCulture, "Include{0}", new object[] { this.Index }), str2);
                    context.Log.WriteLine(string.Format(CultureInfo.CurrentCulture, Microsoft.VisualStudio.TextTemplating.VSHost.Resources.ProvideIncludeFolderLogRegistered, new object[] { this.Extension, this.Index, str2 }));
                }
            }
        }