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