13 references to RootComponentOperationType
Microsoft.AspNetCore.Components.Server (13)
_generated\0\LoggerMessage.g.cs (3)
2351
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.
RootComponentOperationType
, string, global::System.Exception?> __InvalidRootComponentOperationCallback =
2352
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Components.
RootComponentOperationType
, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(11, "InvalidRootComponentOperation"), "The root component operation of type '{OperationType}' was invalid: {Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
2359
public static partial void InvalidRootComponentOperation(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.
RootComponentOperationType
operationType, string message)
Circuits\CircuitHost.cs (5)
834
if (operation.Type !=
RootComponentOperationType
.Add)
836
throw new InvalidOperationException($"The first set of update operations must always be of type {nameof(
RootComponentOperationType
.Add)}");
901
case
RootComponentOperationType
.Add:
910
case
RootComponentOperationType
.Update:
918
case
RootComponentOperationType
.Remove:
Circuits\CircuitPersistenceManager.cs (1)
135
if (operation.Type !=
RootComponentOperationType
.Add)
Circuits\ServerComponentDeserializer.cs (2)
323
if (operation.Type ==
RootComponentOperationType
.Remove)
401
public static partial void InvalidRootComponentOperation(ILogger logger,
RootComponentOperationType
operationType, string message);
src\aspnetcore\src\Components\Shared\src\RootComponentOperation.cs (1)
13
public
RootComponentOperationType
Type { get; set; }
src\aspnetcore\src\Components\Shared\src\RootComponentOperationType.cs (1)
8
[JsonConverter(typeof(JsonStringEnumConverter<
RootComponentOperationType
>))]