internal IfcWindowType(DatabaseIfc m, string name, IfcWindowTypeEnum type, IfcWindowTypePartitioningEnum partition, string userDefinedPartionType, IfcWindowLiningProperties wlp, List<IfcWindowPanelProperties> pps)
: base(m)
{
Name = name;
mPredefinedType = type;
mPartitioningType = partition;
mParameterTakesPrecedence = true;
if (wlp != null)
mHasPropertySets.Add(wlp.mIndex);
if (pps != null && pps.Count > 0)
mHasPropertySets.AddRange(pps.ConvertAll(x => x.mIndex));
if (!string.IsNullOrEmpty(userDefinedPartionType))
mUserDefinedPartitioningType = userDefinedPartionType.Replace("'", "");
}