Beispiel #1
0
        public IUpdating Create(IClassicHandlable source)
        {
            IUpdating updator = new ObjectUpdater();

            updator.Finish = source;
            return(updator);
        }
Beispiel #2
0
        public static ObjectUpdater Create(IClassicHandlable source)
        {
            ObjectUpdater updator = Pool <ObjectUpdater> .Pop();

            updator.Finish = source;
            return(updator);
        }
Beispiel #3
0
        public static IUpdating Create <T>(T target, XObjectHash source)
        {
            ObjectUpdater <T> updator = new ObjectUpdater <T>();

            updator.Target = target;
            updator.Finish = source;
            return(updator);
        }
Beispiel #4
0
        public static ObjectUpdater <T> Create <T>(T target, XObjectHash source)
        {
            ObjectUpdater <T> updator = Pool <ObjectUpdater <T> > .Pop();

            updator.Target = target;
            updator.Finish = source;
            return(updator);
        }