コード例 #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();
            }
        }