Hook?

2403 단어 OO
 public interface IHook

    {

        /// <summary>

        ///  

        /// </summary>

        ESRI.ArcGIS.Controls.IMapControl4 MapControl { get; set; }



     }
 public class HookHelper: IHook

    {

        private static HookHelper mHookHelper = null;



        private HookHelper() { }



        public static HookHelper GetInstance()

        {

            if (mHookHelper == null)

            {

                mHookHelper = new HookHelper();

            }



            return HookHelper;

        }



        public IEventAggregator EventAggregator { get; set; }



        public ESRI.ArcGIS.Controls.IMapControl4 MapControl { get; set; }



        public ESRI.ArcGIS.Carto.IMap Map { get; set; }

}

블랙박스에서 n줄을 끌어당기다.

좋은 웹페이지 즐겨찾기