An object mapping for the World table.
Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ActiveWorld"/> class.
 /// </summary>
 public ActiveWorld(WorldInfo worldInfo)
 {
     this.Id = worldInfo.WorldId;
     this.Name = worldInfo.WorldName;
     this.ChannelCount = worldInfo.ChannelCount;
     this.channels = new List<ActiveChannel>();
 }
Ejemplo n.º 2
0
        protected override void OnInitializing(OsServiceConfiguration serviceConfiguration)
        {
            base.OnInitializing(serviceConfiguration);

            this.worldConfiguration = new WorldConfiguration(serviceConfiguration);

            this.WorldId = this.worldConfiguration.WorldId;
            this.info = this.worldInfoProvider.GetWorldById(this.WorldId);
        }