Exemplo n.º 1
0
        public override void SelectConcept(Enum concept)
        {
            base.SelectConcept(concept);
            switch ((CSharpTypeConceptsList)concept)
            {
            case CSharpTypeConceptsList.StandardInterfacesImplementation:
                conceptExecutionClass = new StandardInterfacesImplementation();
                break;

            case CSharpTypeConceptsList.ReflectionExamples:
                conceptExecutionClass = new ReflectionExamples();
                break;

            case CSharpTypeConceptsList.ApplyingAttributesExamples:
                conceptExecutionClass = new ApplyingAttributesExamples();
                break;

            case CSharpTypeConceptsList.CodeGenerationExample:
                conceptExecutionClass = new CodeGenerationExamples();
                break;

            case CSharpTypeConceptsList.StringManipulationExamples:
                conceptExecutionClass = new StringManipulationExamples();
                break;

            case CSharpTypeConceptsList.ConversionExamples:
                conceptExecutionClass = new ConversionExamples();
                break;
            }
        }
 public override void SelectConcept(Enum concept)
 {
     base.SelectConcept(concept);
     switch ((CSharpTypeConceptsList)concept)
     {
         case CSharpTypeConceptsList.StandardInterfacesImplementation:
             conceptExecutionClass = new StandardInterfacesImplementation();
             break;
         case CSharpTypeConceptsList.ReflectionExamples:
             conceptExecutionClass = new ReflectionExamples();
             break;
         case CSharpTypeConceptsList.ApplyingAttributesExamples:
             conceptExecutionClass = new ApplyingAttributesExamples();
             break;
         case CSharpTypeConceptsList.CodeGenerationExample:
             conceptExecutionClass = new CodeGenerationExamples();
             break;
         case CSharpTypeConceptsList.StringManipulationExamples:
             conceptExecutionClass = new StringManipulationExamples();
             break;
         case CSharpTypeConceptsList.ConversionExamples:
             conceptExecutionClass = new ConversionExamples();
             break;
     }
 }