// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool Xbim.CodeGeneration 
//  
//     Changes to this file may cause incorrect behaviour and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

using Xbim.Ifc4.Interfaces;
using System.Collections.Generic;
using System.Linq;
using Xbim.Common;

// ReSharper disable once CheckNamespace
namespace Xbim.Ifc2x3.ProductExtension
{
	public partial class @IfcRelContainedInSpatialStructure : IIfcRelContainedInSpatialStructure
	{

		[CrossSchemaAttribute(typeof(IIfcRelContainedInSpatialStructure), 5)]
		IItemSet<IIfcProduct> IIfcRelContainedInSpatialStructure.RelatedElements 
		{ 
			get
			{
			
				return new Common.Collections.ProxyItemSet<Kernel.IfcProduct, IIfcProduct>(RelatedElements);
			} 
		}

		[CrossSchemaAttribute(typeof(IIfcRelContainedInSpatialStructure), 6)]
		IIfcSpatialElement IIfcRelContainedInSpatialStructure.RelatingStructure 
		{ 
			get
			{
				return RelatingStructure as IIfcSpatialElement;
			} 
			set
			{
				RelatingStructure = value as IfcSpatialStructureElement;
				
			}
		}
	//## Custom code
	//##
	}
}