internal void SetEntityInformation( IList <IndoorMapEntity> indoorMapEntities, IndoorMapEntityLoadState indoorMapEntityLoadState ) { m_indoorMapEntities = indoorMapEntities.ToList(); IndoorMapEntityLoadState = indoorMapEntityLoadState; if (this.OnChanged != null) { this.OnChanged.Invoke(this); } }
internal IndoorMapEntityInformation( IndoorMapEntityInformationApiInternal indoorMapEntityInformationApiInternal, int id, string indoorMapId, Action <IndoorMapEntityInformation> indoorMapEntityInformationChangedDelegate ) { if (indoorMapEntityInformationApiInternal == null) { throw new ArgumentNullException("null indoorMapEntityInformationApiInternal"); } if (id == InvalidId) { throw new ArgumentException("invalid id"); } this.m_indoorMapEntityInformationApiInternal = indoorMapEntityInformationApiInternal; this.Id = id; this.IndoorMapId = indoorMapId; this.IndoorMapEntityLoadState = IndoorMapEntityLoadState.None; this.OnChanged = indoorMapEntityInformationChangedDelegate; }