/// <summary>
 /// Initializes a new instance of the <see cref="DependencyObjectContainer"/> class.
 /// </summary>
 /// <param name="representedObject">The <see cref="IDependencyObject"/> type whichs dependency propertys should be represented.</param>
 public DependencyObjectContainer(IDependencyObject representedObject)
 {
     RepresentedObject = representedObject ?? throw new ArgumentNullException(nameof(representedObject));
     _DependencyType   = DependencyType.GetDependencyType(RepresentedObject.GetType().GetTypeInfo(), true);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DependencyObjectContainer"/> class.
 /// </summary>
 internal DependencyObjectContainer()
 {
     RepresentedObject = (this as IDependencyObject) ?? throw new NotSupportedException("Object must inherit from IDependencyObject");
     _DependencyType   = DependencyType.GetDependencyType(RepresentedObject.GetType().GetTypeInfo(), true);
 }