Search Results for

    Show / Hide Table of Contents

    Class XEventDeclaration

    Event declaration

    Inheritance
    Object
    XEventDeclaration
    Implements
    IEventDeclaration
    IMemberDeclaration
    ICustomAttributeProvider
    IDocumentationProvider
    IEventReference
    IMemberReference
    IComparable
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Microsoft.ML.Probabilistic.Compiler.CodeModel.Concrete
    Assembly: Microsoft.ML.Probabilistic.Compiler.dll
    Syntax
    public class XEventDeclaration : IEventDeclaration, IMemberDeclaration, ICustomAttributeProvider, IDocumentationProvider, IEventReference, IMemberReference, IComparable

    Properties

    Attributes

    The custome attributes attached to this event

    Declaration
    public List<ICustomAttribute> Attributes { get; }
    Property Value
    Type Description
    List<ICustomAttribute>

    DeclaringType

    Declaring type of this event

    Declaration
    public IType DeclaringType { get; set; }
    Property Value
    Type Description
    IType

    Documentation

    The documentation for this event

    Declaration
    public string Documentation { get; set; }
    Property Value
    Type Description
    String

    EventType

    Type of the event

    Declaration
    public ITypeReference EventType { get; set; }
    Property Value
    Type Description
    ITypeReference

    GenericEvent

    The generic event from which this event is derived (if any)

    Declaration
    public IEventReference GenericEvent { get; set; }
    Property Value
    Type Description
    IEventReference

    InvokeMethod

    Reference for event invoke method

    Declaration
    public IMethodReference InvokeMethod { get; set; }
    Property Value
    Type Description
    IMethodReference

    Name

    The name of this event

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    Methods

    CompareTo(Object)

    Compares this instance with another object

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Int32

    Equals(Object)

    Determines whether this instance is equal to another instance

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    GetHashCode()

    Hash code for the instance

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    Resolve()

    Resolve - just returns this as it is already a declaration

    Declaration
    public IEventDeclaration Resolve()
    Returns
    Type Description
    IEventDeclaration

    ToString()

    String representation

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Implements

    IEventDeclaration
    IMemberDeclaration
    ICustomAttributeProvider
    IDocumentationProvider
    IEventReference
    IMemberReference
    System.IComparable
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.