Exemplo n.º 1
0
        internal ApplicationInstructions ToApplicationInstructions(ApplicationConfiguration configuration,
            InstructionsFrom instructionsFrom)
        {
            var appInstructions = new ApplicationInstructions(configuration)
            {
                ExecuteAlias = new ExecutionAlias {Alias = ExecuteAlias, InstructionsFrom = instructionsFrom}
            };

            foreach (var instruction in Instructions)
            {
                appInstructions.Instructions.Add(instruction.InstructionType, instruction);
            }

            return appInstructions;
        }
Exemplo n.º 2
0
 internal InstructionSet(InstructionsFrom instructionsFrom)
 {
     ExecuteAlias = string.Empty;
     InstructionsFrom = instructionsFrom;
     Instructions = new Collection<Instruction>();
 }