コード例 #1
0
        private static TWrapper CreateWrapper(ITransitStopArea transitStopArea)
        {
            var type     = typeof(TWrapper);
            var instance = Activator.CreateInstance(type, transitStopArea);

            return((TWrapper)instance);
        }
コード例 #2
0
 public TransitStopAreaWrapper(ITransitStopArea transitStopArea) : base(transitStopArea)
 {
     _transitStopArea = (ILDTransitStopArea)transitStopArea;
 }
コード例 #3
0
 ITransitStopAreaWrapper ITransitStopAreaCreator.CreateWrapper(ITransitStopArea transitStopArea)
 {
     return(CreateWrapper(transitStopArea));
 }
コード例 #4
0
 public TransitStopAreaWrapper(ITransitStopArea transitStopArea)
 {
     _transitStopArea = transitStopArea;
 }