예제 #1
0
파일: FontsFactory.cs 프로젝트: drme/thw-ui
 /// <summary>
 /// Registers font creator. User can provide his own fonts creator if built in is not sufficiet.
 /// </summary>
 /// <param name="fontCreator"></param>
 public void RegisterFontCreator(IFontCreator fontCreator)
 {
     if (null != fontCreator)
     {
         this.fontCreators.Add(fontCreator);
         this.fontsNames = null;
     }
 }
예제 #2
0
 /// <summary>
 /// Registers font creator. User can provide his own fonts creator if built in is not sufficiet.
 /// </summary>
 /// <param name="fontCreator"></param>
 public void RegisterFontCreator(IFontCreator fontCreator)
 {
     if (null != fontCreator)
     {
         this.fontCreators.Add(fontCreator);
         this.fontsNames = null;
     }
 }
예제 #3
0
파일: FontsFactory.cs 프로젝트: drme/thw-ui
        /// <summary>
        /// Unregisters font creator.
        /// </summary>
        /// <param name="fontCreator"></param>
        public void UnRegisterFontCreator(IFontCreator fontCreator)
        {
            this.fontCreators.Remove(fontCreator);

            this.fontsNames = null;
        }
예제 #4
0
        /// <summary>
        /// Unregisters font creator.
        /// </summary>
        /// <param name="fontCreator"></param>
        public void UnRegisterFontCreator(IFontCreator fontCreator)
        {
            this.fontCreators.Remove(fontCreator);

            this.fontsNames = null;
        }