Пример #1
0
 public RuntimePackage(string name, IFolder buildFolder, IFolder deploymentFolder, AssemblyCatalog catalog, RuntimeRegionKey regionKey)
 {
     Name             = name;
     BuildFolder      = buildFolder;
     DeploymentFolder = deploymentFolder;
     Catalog          = catalog;
     RegionKey        = regionKey;
     Assembly         = catalog.Assembly;
     Durable          = new RuntimeTypeSet <DurableType>();
     Areas            = new RuntimeTypeSet <AreaType>();
     Events           = new RuntimeTypeSet <EventType>();
     Flows            = new RuntimeTypeSet <FlowType>();
     Topics           = new RuntimeTypeSet <TopicType>();
     Queries          = new RuntimeTypeSet <QueryType>();
     Views            = new RuntimeTypeSet <ViewType>();
     Requests         = new RuntimeTypeSet <RequestType>();
     WebApis          = new RuntimeTypeSet <WebApiType>();
 }
Пример #2
0
 internal AreaType(RuntimeTypeRef type, Many <IOResource> deployedResources) : base(type)
 {
     Dependencies      = new RuntimeTypeSet <AreaType>();
     DeployedResources = deployedResources;
 }