Domain.User.SetProperty C# (CSharp) 메소드

SetProperty() 공개 메소드

public SetProperty ( System.Guid userID, string name, string value ) : void
userID System.Guid
name string
value string
리턴 void
        public void SetProperty(Guid userID, string name, string value)
        {
            var e = new UserPropertySetEvent(Guid.NewGuid(), Guid.Empty, this.Version + 1, DateTime.UtcNow)
            {
                UserID = userID,
                Name = name,
                Value = value,
                TimeStamp = DateTime.UtcNow
            };

            ApplyEvent(e);
        }