Class GeneratePropertyBagsForTypesQualifiedWithAttribute | Properties | 1.1.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class GeneratePropertyBagsForTypesQualifiedWithAttribute

    Use this attribute to have the properties ILPostProcessor generate property bags for types implementing the specified interface.

    Inheritance
    Object
    Attribute
    GeneratePropertyBagsForTypesQualifiedWithAttribute
    Namespace: Unity.Properties
    Syntax
    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
    public class GeneratePropertyBagsForTypesQualifiedWithAttribute : Attribute, _Attribute
    Remarks

    If you need to generate a property bag for a specific type use GeneratePropertyBagsForTypeAttribute.

    Constructors

    GeneratePropertyBagsForTypesQualifiedWithAttribute(Type, TypeOptions)

    Initializes a new instance of the GeneratePropertyBagsForTypesQualifiedWithAttribute attribute.

    Declaration
    public GeneratePropertyBagsForTypesQualifiedWithAttribute(Type type, TypeOptions options = TypeOptions.ValueType | TypeOptions.ReferenceType | TypeOptions.Default)
    Parameters
    Type Name Description
    Type type

    The interface type to generate property bags for.

    TypeOptions options

    Additional type filtering options.

    Exceptions
    Type Condition
    ArgumentException

    The type is null or the given type is not an interface.

    Fields

    Options

    Options used for additional filtering.

    Declaration
    public readonly TypeOptions Options
    Field Value
    Type Description
    TypeOptions

    Type

    The interface type to generate property bags for.

    Declaration
    public readonly Type Type
    Field Value
    Type Description
    Type
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023