Пример #1
0
 public void Export(Property[] properties)
 {
     foreach (var property in properties)
     {
         var value = DeclaredValue.ExtractFor(property.Name);
         property.TrySetValue(value);
     }
 }
Пример #2
0
        public void Export(Property[] properties)
        {
            foreach (var property in properties)
            {
                var value = DeclaredValue.ExtractFor(property.Name);

                if (property.TrySetValue(value))
                {
                    property.IsImportant = IsImportant;
                }
            }
        }