private ProxyProvidedAssembly(RdProvidedAssembly assembly, TypeProvidersConnection typeProvidersConnection)
            : base(null)
        {
            myAssembly = assembly;
            myTypeProvidersConnection = typeProvidersConnection;

            myManifestModuleContent = new InterruptibleLazy <byte[]>(() =>
                                                                     myTypeProvidersConnection.ExecuteWithCatch(() =>
                                                                                                                RdProvidedAssemblyProcessModel.GetManifestModuleContents.Sync(EntityId, RpcTimeouts.Maximal)));
        }
 public static ProxyProvidedAssembly Create(RdProvidedAssembly assembly, TypeProvidersConnection connection) =>
 new ProxyProvidedAssembly(assembly, connection);