mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Implement more IStringEncodable
This commit is contained in:
@@ -9,7 +9,7 @@ using Microsoft.Iris.Library;
|
||||
|
||||
namespace Microsoft.Iris.Layouts
|
||||
{
|
||||
internal class DockLayoutInput : ILayoutInput
|
||||
internal class DockLayoutInput : ILayoutInput, IStringEncodable
|
||||
{
|
||||
public static readonly DockLayoutInput Left = new DockLayoutInput();
|
||||
public static readonly DockLayoutInput Top = new DockLayoutInput();
|
||||
@@ -40,5 +40,7 @@ namespace Microsoft.Iris.Layouts
|
||||
}
|
||||
|
||||
public override string ToString() => InvariantString.Format("{0}(Position={1})", GetType().Name, PositionString);
|
||||
|
||||
public string EncodeString() => PositionString;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user