コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BridgePattern.Line"/> class.
 /// </summary>
 /// <param name="implementor">The implementor instance to use.</param>
 public Line(DrawApi implementor)
     : base(implementor)
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BridgePattern.Shape"/> class.
 /// </summary>
 /// <param name="implementor">Implementor.</param>
 public Shape(DrawApi implementor)
 {
     _implementor = implementor;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BridgePattern.Abstraction"/> class.
 /// </summary>
 /// <param name="implementor">The implementor instance to use.</param>
 public Square(DrawApi implementor)
     : base(implementor)
 {
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BridgePattern.Rectangle"/> class.
 /// </summary>
 /// <param name="implementor">The implementor instance to use.</param>
 public Rectangle(DrawApi implementor)
     : base(implementor)
 {
 }