public AppServerMetadata(IAppServerMetadata attribute, Type appType) { Name = attribute.Name; AppType = appType.AssemblyQualifiedName; StatusFields = StatusInfoAttribute.GetFromType(attribute.GetType()).ToArray(); }