import { Component } from "@angular/core";
import { ExtensionComponentRegistration, ExtensionComponentRegistry } from "../framework/common/extensibility/extension-component.registry";

@Component({
    selector: "datacenter-overview",
    templateUrl: "./datacenter-overview.component.html",
    host: {
        "[class.extension-host]": "true",
    },
})
export class DatacenterOverviewComponent {
    extensionRegistrations: ExtensionComponentRegistration[];
    constructor(private extensionComponentRegistry: ExtensionComponentRegistry) {
        this.extensionRegistrations = this.extensionComponentRegistry.getRegisteredComponents("urn:vmware:vcd:component-scope:datacenter-overview");
    }
}