public StateObjectDesc
        (
            StateObjectType?type        = null,
            uint?numSubobjects          = null,
            StateSubobject *pSubobjects = null
        ) : this()
        {
            if (type is not null)
            {
                Type = type.Value;
            }

            if (numSubobjects is not null)
            {
                NumSubobjects = numSubobjects.Value;
            }

            if (pSubobjects is not null)
            {
                PSubobjects = pSubobjects;
            }
        }
Esempio n. 2
0
        public SubobjectToExportsAssociation
        (
            StateSubobject *pSubobjectToAssociate = null,
            uint?numExports = null,
            char **pExports = null
        ) : this()
        {
            if (pSubobjectToAssociate is not null)
            {
                PSubobjectToAssociate = pSubobjectToAssociate;
            }

            if (numExports is not null)
            {
                NumExports = numExports.Value;
            }

            if (pExports is not null)
            {
                PExports = pExports;
            }
        }