SenseNet.ContentRepository.TrashBag.SetProperty C# (CSharp) Method

SetProperty() public method

public SetProperty ( string name, object value ) : void
name string
value object
return void
        public override void SetProperty(string name, object value)
        {
            switch (name)
            {
                case "KeepUntil":
                    this.KeepUntil = (DateTime)value;
                    break;
                case "OriginalPath":
                    this.OriginalPath = (string)value;
                    break;
                default:
                    base.SetProperty(name, value);
                    break;
            }
        }