| File: System\CodeDom\CodeEventReferenceExpression.cs | Web Access |
| Project: src\runtime\src\libraries\System.CodeDom\src\System.CodeDom.csproj (System.CodeDom) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.CodeDom { public class CodeEventReferenceExpression : CodeExpression { private string _eventName; public CodeEventReferenceExpression() { } public CodeEventReferenceExpression(CodeExpression targetObject, string eventName) { TargetObject = targetObject; _eventName = eventName; } public CodeExpression TargetObject { get; set; } public string EventName { get => _eventName ?? string.Empty; set => _eventName = value; } } }