diff -r d73e99c5333c -r 01a00603ec28 Channel.cs --- a/Channel.cs Fri May 15 15:16:18 2015 +0200 +++ b/Channel.cs Fri May 15 17:28:51 2015 +0200 @@ -63,6 +63,17 @@ // public string TXT { get; set; } + ////// + public void Copy(Channel aChannel) + { + PropertyInfo[] properties = typeof(Channel).GetProperties(); + foreach (PropertyInfo property in properties) + { + object value = property.GetValue(aChannel); + property.SetValue(this,value); + } + } + ////// public override string ToString() {