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 RdCustomAttributeData[] GetCustomAttributes(IRdProvidedEntity entity) =>
 myConnection.ExecuteWithCatch(() =>
                               RdTypeProviderProcessModel.GetCustomAttributes.Sync(
                                   new GetCustomAttributesArgs(entity.EntityId, entity.EntityType), RpcTimeouts.Maximal));