Example #1
0
        public BuilderElement Add(string typeName, string name, Plugin plugin)
        {
            BuilderElement item = item = new BuilderElement(typeName, name, plugin);

            base.Insert(item, -1);

            return(item);
        }
Example #2
0
        private void UnloadBuilder(BuilderElement builderElement)
        {
            if (builderElement == null)
            {
                return;
            }

            if (builderElement.HasValue)
            {
                builderElement.Value.Dispose();
            }
        }