예제 #1
0
        //=====================================================================

        /// <summary>
        /// Clone the API filter collection
        /// </summary>
        /// <returns>A clone of the collection</returns>
        public object Clone()
        {
            ApiFilterCollection clone = new ApiFilterCollection(projectFile);

            foreach (ApiFilter filter in this)
            {
                clone.Add((ApiFilter)filter.Clone());
            }

            return(clone);
        }
예제 #2
0
파일: ApiFilter.cs 프로젝트: wholroyd/SHFB
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <overloads>There are two overloads for the constructor</overloads>
        internal ApiFilter()
        {
            // Child collections do not contain a project reference
            children  = new ApiFilterCollection(null);
            isExposed = true;
        }
예제 #3
0
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <overloads>There are two overloads for the constructor</overloads>
        internal ApiFilter()
        {
            children  = new ApiFilterCollection();
            isExposed = true;
        }