コード例 #1
0
 public IInternalWindow Clone() => new Window(Id)
 {
     Category         = Category,
     Rectangle        = Rectangle?.Clone(),
     RectangleCurrent = RectangleCurrent?.Clone(),
     OsVisibility     = OsVisibility,
     Title            = Title,
     Class            = Class
 };
コード例 #2
0
 public IInternalWindow Clone()
 {
     return(new WindowMock
     {
         Id = new WindowIdMock(Id.RawId),
         Title = Title,
         Class = Class,
         Rectangle = Rectangle.Clone(),
         RectangleCurrent = RectangleCurrent.Clone(),
         OsVisibility = OsVisibility,
         Category = Category,
     });
 }