/// <summary> /// Constructs a new <see cref="Element"/> from the given <see cref=" ElementHandle"/> and <see cref="ElementVisualizedData"/>. /// </summary> /// <param name="elementHandle"></param> /// <param name="visualData"></param> public Element(ElementHandle elementHandle, ElementVisualizedData visualData) : this() { if (elementHandle == null) throw new ArgumentNullException("elementHandle"); if (visualData == null) throw new ArgumentNullException("visualData"); _elementHandle = elementHandle; this.VisualData = visualData; }
/// <summary> /// Constructs a new <see cref="Element"/> from the given <see cref=" ElementHandle"/> and <see cref="ElementVisualizedData"/>. /// </summary> /// <param name="elementHandle"></param> /// <param name="visualData"></param> public Element(ElementHandle elementHandle, ElementVisualizedData visualData) : this() { if (elementHandle == null) { throw new ArgumentNullException("elementHandle"); } if (visualData == null) { throw new ArgumentNullException("visualData"); } _elementHandle = elementHandle; this.VisualData = visualData; }
/// <summary> /// Constructs a new <see cref="Element"/> from the given <see cref=" ElementHandle"/>, <see cref="ElementVisualizedData"/> and <see cref="ElementDragAndDropInfo"/>. /// </summary> /// <param name="elementHandle"></param> /// <param name="visualData"></param> /// <param name="movabilityInfo"></param> public Element(ElementHandle elementHandle, ElementVisualizedData visualData, ElementDragAndDropInfo movabilityInfo) : this() { if (elementHandle == null) { throw new ArgumentNullException("elementHandle"); } if (visualData == null) { throw new ArgumentNullException("visualData"); } if (movabilityInfo == null) { throw new ArgumentNullException("movabilityInfo"); } _elementHandle = elementHandle; this.VisualData = visualData; this.MovabilityInfo = movabilityInfo; }
/// <summary> /// Constructs a new <see cref="Element"/> from the given <see cref=" ElementHandle"/>, <see cref="ElementVisualizedData"/> and <see cref="ElementDragAndDropInfo"/>. /// </summary> /// <param name="elementHandle"></param> /// <param name="visualData"></param> /// <param name="movabilityInfo"></param> public Element(ElementHandle elementHandle, ElementVisualizedData visualData, ElementDragAndDropInfo movabilityInfo) : this() { if (elementHandle == null) throw new ArgumentNullException("elementHandle"); if (visualData == null) throw new ArgumentNullException("visualData"); if (movabilityInfo == null) throw new ArgumentNullException("movabilityInfo"); _elementHandle = elementHandle; this.VisualData = visualData; this.MovabilityInfo = movabilityInfo; }