Class EventNameExtractorResult
Represents the result of an event name extraction operation.
Inheritance
object
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public class EventNameExtractorResult
Constructors
View SourceEventNameExtractorResult(EventNameExtractorError?)
Initializes a new instance of the EventNameExtractorResult class with an error.
Declaration
public EventNameExtractorResult(EventNameExtractorError? error)
Parameters
| Type | Name | Description |
|---|---|---|
| EventNameExtractorError? | error | The error that occurred during extraction. |
EventNameExtractorResult(string?)
Initializes a new instance of the EventNameExtractorResult class with a name.
Declaration
public EventNameExtractorResult(string? name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The extracted event name. |
Properties
View SourceError
Gets the error that occurred during extraction, if any.
Declaration
public EventNameExtractorError? Error { get; }
Property Value
| Type | Description |
|---|---|
| EventNameExtractorError? |
Name
Gets the extracted event name, if successful.
Declaration
public string? Name { get; }
Property Value
| Type | Description |
|---|---|
| string |