public AssetPropertyGraph InitializeAsset(AssetItem assetItem, ILogger logger)
        {
            // SourceCodeAssets have no property
            if (assetItem.Asset is SourceCodeAsset)
            {
                return(null);
            }

            var graph = AssetQuantumRegistry.ConstructPropertyGraph(this, assetItem, logger);

            RegisterGraph(assetItem.Id, graph);
            return(graph);
        }
Esempio n. 2
0
 public static void Initialize()
 {
     // Make sure that this assembly is registered
     AssetQuantumRegistry.RegisterAssembly(typeof(Module).Assembly);
 }