Search Results for

    Show / Hide Table of Contents

    Class FactorMethodAttribute

    When applied to a class, indicates that the class provides message functions for a given factor.

    Inheritance
    Object
    Attribute
    FactorMethodAttribute
    Inherited Members
    Attribute.Equals(Object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.Match(Object)
    Attribute.TypeId
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Factors.Attributes
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
    public class FactorMethodAttribute : Attribute

    Constructors

    FactorMethodAttribute(String[], Type, String, Type[])

    Creates a new FactorMethod attribute

    Declaration
    public FactorMethodAttribute(string[] newParameterNames, Type type, string methodName, params Type[] parameterTypes)
    Parameters
    Type Name Description
    String[] newParameterNames

    New names for factor parameters overriding the default choice of parameter names - these are used to name message passing methods

    Type type

    Type which contains the factor definition

    String methodName

    Method name for the factor

    Type[] parameterTypes

    Parameter types for the factor

    FactorMethodAttribute(Type, String, Type[])

    Creates a new FactorMethod attribute

    Declaration
    public FactorMethodAttribute(Type type, string methodName, params Type[] parameterTypes)
    Parameters
    Type Name Description
    Type type

    Type which contains the factor definition

    String methodName

    Method name for the factor

    Type[] parameterTypes

    Parameter types for the factor

    Fields

    Default

    True if this class should override other classes for the same factor.

    Declaration
    public bool Default
    Field Value
    Type Description
    Boolean

    MethodName

    Method name for the factor

    Declaration
    public string MethodName
    Field Value
    Type Description
    String

    NewParameterNames

    New names for factor parameters overriding the default choice of parameter names

    • these are used to name message passing methods
    Declaration
    public string[] NewParameterNames
    Field Value
    Type Description
    String[]

    ParameterTypes

    Parameter types for the factor

    Declaration
    public Type[] ParameterTypes
    Field Value
    Type Description
    Type[]

    Type

    Type which contains the factor definition

    Declaration
    public Type Type
    Field Value
    Type Description
    Type
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.