static NetFxAdapters() { var discovery = new AttributedPartDiscoveryV1(Resolver.DefaultInstance); CompositionServicePart = discovery.CreatePart(typeof(CompositionService)); MetadataViewImplProxyPart = discovery.CreatePart(typeof(MetadataViewImplProxy)); }
static NetFxAdapters() { var discovery = new AttributedPartDiscoveryV1(Resolver.DefaultInstance); CompositionServicePart = discovery.CreatePart(typeof(CompositionService)) ?? throw Assumes.NotReachable(); }