InterfaceHelpers
StockSharp.Xaml.Charting.Common.Helpers
Methods
CheckInterfaceProperties``1
private static void CheckInterfaceProperties<T>()
InterfaceHelpers.CheckInterfaceProperties()
Performs the following checks on generic type T, and objects From, To. If T is not an interface, an exception is thrown. If either object From or To do not implement T, an exception is thrown
CopyInterfaceProperties``1
public static void CopyInterfaceProperties<T>(T from, T to)
InterfaceHelpers.CopyInterfaceProperties(from, to)
Copies the interface properties from one object to another
- from
- The object that implements interface type T to copy from
- to
- The object that implements interface type T to copy to