public void BindTo(IEnumerable <IAssetAdministrationShell> assetAdministrationShells)
 {
     foreach (var assetAdministrationShell in assetAdministrationShells)
     {
         RegisterAssetAdministrationShellServiceProvider(assetAdministrationShell.IdShort, assetAdministrationShell.CreateServiceProvider(true));
     }
     ServiceDescriptor = ServiceDescriptor ?? new AssetAdministrationShellRepositoryDescriptor(assetAdministrationShells, null);
 }
Ejemplo n.º 2
0
 public AssetAdministrationShellRepositoryServices(IAssetAdministrationShellRepositoryServiceProvider assetAdministrationShellRepositoryServiceProvider)
 {
     repository        = assetAdministrationShellRepositoryServiceProvider;
     ServiceDescriptor = assetAdministrationShellRepositoryServiceProvider.ServiceDescriptor;
 }
 public AssetAdministrationShellRepositoryServiceProvider(IAssetAdministrationShellRepositoryDescriptor descriptor) : this()
 {
     ServiceDescriptor = descriptor;
 }