/// <summary> /// Write Server. /// </summary> /// <param name="server">Server object</param> private void WriteServer(Server server) { this.WriteObject(new ASRServer(server)); }
/// <summary> /// Initializes a new instance of the <see cref="ASRServer" /> class with required /// parameters. /// </summary> /// <param name="server">Server object</param> public ASRServer(Server server) { this.ID = server.Id; this.Name = server.Name; this.FriendlyName = server.Properties.FriendlyName; this.LastHeartbeat = server.Properties.LastHeartbeat; this.ProviderVersion = server.Properties.ProviderVersion; this.ServerVersion = server.Properties.ServerVersion; // this.Connected = server.Properties.Connected; this.FabricObjectID = server.Properties.FabricObjectID; this.FabricType = server.Properties.FabricType; this.Type = server.Type; }