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

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

            updator.Finish = source;
            return(updator);
        }
Example #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);
        }
Example #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);
        }