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

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