Microsoft.CSharp.RuntimeBinder.Semantics.AggregateType.SetOwningAggregate C# (CSharp) Method

SetOwningAggregate() public method

public SetOwningAggregate ( AggregateSymbol agg ) : void
agg AggregateSymbol
return void
        public void SetOwningAggregate(AggregateSymbol agg)
        {
            _pOwningAggregate = agg;
        }

Usage Example

Example #1
0
        // Aggregate
        public AggregateType CreateAggregateType(
            AggregateSymbol parent,
            TypeArray typeArgsThis,
            AggregateType outerType)
        {
            AggregateType type = new AggregateType();

            type.outerType = outerType;
            type.SetOwningAggregate(parent);
            type.SetTypeArgsThis(typeArgsThis);
            type.SetTypeKind(TypeKind.TK_AggregateType);
            return(type);
        }
All Usage Examples Of Microsoft.CSharp.RuntimeBinder.Semantics.AggregateType::SetOwningAggregate