8 instantiations of ComponentMarkerKey
Microsoft.AspNetCore.Components.Server.Tests (8)
Circuits\CircuitHostTest.cs (1)
783
var key = new
ComponentMarkerKey
(locationHash, componentKey);
Circuits\CircuitPersistenceManagerTest.cs (4)
73
Key: new
ComponentMarkerKey
("1", typeof(RootComponent).FullName!),
126
Key: new
ComponentMarkerKey
("1", typeof(RootComponent).FullName!),
137
Key: new
ComponentMarkerKey
("2", typeof(SecondRootComponent).FullName!),
534
var key = new
ComponentMarkerKey
((i + 1).ToString(CultureInfo.InvariantCulture), rootComponentType.FullName!);
Circuits\RemoteRendererTest.cs (2)
537
await webRootComponentManager.UpdateRootComponentAsync(0, typeof(TestComponent),
new
("1", null), WebRootComponentParameters.Empty);
673
var componentMarkerKey = new
ComponentMarkerKey
()
Circuits\ServerComponentDeserializerTest.cs (1)
449
var key = new
ComponentMarkerKey
(type.FullName, null);
35 references to ComponentMarkerKey
Microsoft.AspNetCore.Components.Server (23)
Circuits\RemoteComponentState.cs (1)
27
var
markerKey = _renderer.GetMarkerKey(this);
Circuits\RemoteRenderer.cs (1)
322
internal
ComponentMarkerKey
GetMarkerKey(RemoteComponentState remoteComponentState)
src\Components\Shared\src\WebRootComponentManager.cs (9)
38
ComponentMarkerKey
? key,
62
ComponentMarkerKey
? newKey,
87
internal IEnumerable<(int id,
ComponentMarkerKey
key, (Type componentType, ParameterView parameters))> GetRootComponents()
96
internal
ComponentMarkerKey
GetRootComponentKey(int componentId)
115
private readonly
ComponentMarkerKey
_key;
124
ComponentMarkerKey
? key,
141
ComponentMarkerKey
key,
154
out
ComponentMarkerKey
key,
167
ComponentMarkerKey
? newKey,
src\Shared\Components\ComponentMarker.cs (9)
30
public
ComponentMarkerKey
? Key { get; set; }
65
public static ComponentMarker Create(string type, bool prerendered,
ComponentMarkerKey
? key)
117
internal struct ComponentMarkerKey : IEquatable<
ComponentMarkerKey
>
135
public static bool operator ==(
ComponentMarkerKey
left,
ComponentMarkerKey
right)
138
public static bool operator !=(
ComponentMarkerKey
left,
ComponentMarkerKey
right)
141
public readonly bool Equals(
ComponentMarkerKey
other)
146
=> obj is
ComponentMarkerKey
other && Equals(other);
src\Shared\Components\ServerComponent.cs (2)
15
ComponentMarkerKey
? key,
28
public
ComponentMarkerKey
? Key { get; set; }
src\Shared\Components\ServerComponentSerializer.cs (1)
35
ComponentMarkerKey
? key,
Microsoft.AspNetCore.Components.Server.Tests (12)
Circuits\CircuitHostTest.cs (1)
783
var
key = new ComponentMarkerKey(locationHash, componentKey);
Circuits\CircuitPersistenceManagerTest.cs (2)
372
(int Id,
ComponentMarkerKey
Key, (Type ComponentType, Dictionary<string, object> Parameters))[] expected, byte[] rootComponents)
534
var
key = new ComponentMarkerKey((i + 1).ToString(CultureInfo.InvariantCulture), rootComponentType.FullName!);
Circuits\RemoteRendererTest.cs (8)
511
var
key = await AddWebRootComponentAsync(renderer, 0);
551
var
key = await AddWebRootComponentAsync(renderer, 0, "mykey");
571
var
key = await AddWebRootComponentAsync(renderer, 0);
590
var
key = await AddWebRootComponentAsync(renderer, 0);
610
var
key = await AddWebRootComponentAsync(renderer, 0);
626
var
key = await AddWebRootComponentAsync(renderer, 0);
669
private static Task<
ComponentMarkerKey
> AddWebRootComponentAsync(RemoteRenderer renderer, int ssrComponentId, string componentKey = null)
673
var
componentMarkerKey = new ComponentMarkerKey()
Circuits\ServerComponentDeserializerTest.cs (1)
449
var
key = new ComponentMarkerKey(type.FullName, null);