예제 #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);
        }
예제 #2
0
        private void UnloadBuilder(BuilderElement builderElement)
        {
            if (builderElement == null)
            {
                return;
            }

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