Esempio n. 1
0
		protected override void ExecuteRole(Role role)
		{
			// This is only called if the current Container comes from another station.
			// The only valid role is thus an empty one (no CapabilitiesToApply) and represents
			// a simple forwarding to the next station.
			if (role.HasCapabilitiesToApply())
				throw new InvalidOperationException("Unsupported capability configuration in ContainerLoader");
		}
Esempio n. 2
0
 protected override void ExecuteRole(Role role)
 {
     // This is only called if the current Container comes from another station.
     // The only valid role is thus an empty one (no CapabilitiesToApply) and represents
     // a simple forwarding to the next station.
     if (role.HasCapabilitiesToApply())
     {
         throw new InvalidOperationException("Unsupported capability configuration in ContainerLoader");
     }
 }
Esempio n. 3
0
 protected override void ExecuteRole(Role role)
 {
     // unless role is transport only, it will always be { ConsumeCapability }
     if (role.HasCapabilitiesToApply())
     {
         Container.Recipe.RemoveContainer(Container);
         if (Container.Recipe.ProcessingComplete)
         {
             RemoveRecipeConfigurations(Container.Recipe);
         }
         Container = null;
     }
 }
		protected override void ExecuteRole(Role role)
		{
			// unless role is transport only, it will always be { ConsumeCapability }
			if (role.HasCapabilitiesToApply())
			{
				Container.Recipe.RemoveContainer(Container);
				if (Container.Recipe.ProcessingComplete)
				{
					RemoveRecipeConfigurations(Container.Recipe);
				}
				Container = null;
			}
		}