An object mapping for the World table.
예제 #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>();
 }
예제 #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);
        }