Exemplo n.º 1
0
        public override void MapFrom(Snapshot model, IServiceProvider services)
        {
            base.MapFrom(model, services);

            CreatedTime = model.CreatedTime;
            Source      = model.Source;
            Event       = model.Event;
            RollbackId  = model.RollbackId;
            CommitterId = model.CommitterId;
            Target      = model.Target;
            TargetId    = model.TargetId;
            Reason      = model.Reason;
        }
Exemplo n.º 2
0
        public override void MapTo(Snapshot model, IServiceProvider services)
        {
            base.MapTo(model, services);

            model.CreatedTime = CreatedTime;
            model.Source      = Source;
            model.Event       = Event;
            model.RollbackId  = RollbackId;
            model.CommitterId = CommitterId;
            model.Target      = Target;
            model.TargetId    = TargetId;
            model.Reason      = Reason;
        }