Beispiel #1
0
        public AppServerMetadata(IAppServerMetadata attribute, Type appType)
        {
            Name = attribute.Name;
            AppType = appType.AssemblyQualifiedName;

            StatusFields = attribute.GetType()
                .GetCustomAttributes(typeof(StatusInfoAttribute), true)
                .OfType<StatusInfoAttribute>().ToArray();
        }
Beispiel #2
0
 public AppServerMetadata(IAppServerMetadata attribute, Type appType)
 {
     Name = attribute.Name;
     AppType = appType.AssemblyQualifiedName;
     StatusFields = StatusInfoAttribute.GetFromType(attribute.GetType()).ToArray();
 }
Beispiel #3
0
 public AppServerMetadata(IAppServerMetadata attribute, Type appType)
 {
     Name         = attribute.Name;
     AppType      = appType.AssemblyQualifiedName;
     StatusFields = StatusInfoAttribute.GetFromType(attribute.GetType()).ToArray();
 }