示例#1
0
 protected override void Context()
 {
     base.Context();
     sut = new ExtendedProperty <string>();
     sut.AddToListOfValues("new");
     sut.AddToListOfValues("string");
     sut.AddToListOfValues("value");
     sut.Value = "new";
 }
        public IExtendedProperty Clone()
        {
            var extendedProperty = new ExtendedProperty <T> {
                Name = Name, Value = Value, ReadOnly = ReadOnly, Description = Description, FullName = FullName
            };

            ListOfValues.Each(property => extendedProperty.AddToListOfValues(property));
            return(extendedProperty);
        }