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

    Class GeneratePropertyBagsForTypeAttribute

    Use this attribute to have the ILPostProcessor generate a property bag for a given type. This attribute works for the specified type ONLY, it does NOT include derived types.

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

    If you need to generate property bags for types implementing a specific interface use GeneratePropertyBagsForTypesQualifiedWithAttribute.

    Constructors

    GeneratePropertyBagsForTypeAttribute(Type)

    Initializes a new instance of the GeneratePropertyBagsForTypeAttribute attribute.

    Declaration
    public GeneratePropertyBagsForTypeAttribute(Type type)
    Parameters
    Type Name Description
    Type type

    The type to generate a property bag for.

    Exceptions
    Type Condition
    ArgumentException

    The specified type is not a valid container type.

    Fields

    Type

    The type to generate a property bag 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