Build typed Aetheria client surfaces
This commit is contained in:
parent
74b3b3d72a
commit
2e96660d48
246 changed files with 37893 additions and 6728 deletions
|
|
@ -0,0 +1,22 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public sealed class AetheriaUnityActionBarBindingAdapter
|
||||
{
|
||||
private readonly AetheriaUnityActionBarPresentation _presentation;
|
||||
|
||||
public AetheriaUnityActionBarBindingAdapter(
|
||||
AetheriaUnityActionBarPresentation presentation)
|
||||
{
|
||||
_presentation = presentation ?? throw new ArgumentNullException(nameof(presentation));
|
||||
}
|
||||
|
||||
public void ApplyBindings(IReadOnlyList<AetheriaUnityActionBarBinding> bindings)
|
||||
{
|
||||
_presentation.ApplyLocalBindings();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue