Exemplo n.º 1
0
        private void AnalyzeField(SymbolAnalysisContext context, [NotNull] SymbolAnalyzerFactory factory,
                                  [NotNull] ImmutableDictionary <string, string> properties)
        {
            FieldAnalyzer analyzer = factory.GetFieldAnalyzer(context);

            analyzer.Analyze(ruleForField, properties);
        }
Exemplo n.º 2
0
        public UserOperation(TetrisData data, TetriminoFactory factory, TetrisDifficultySettings difficultySettings, IInput input) : base(data)
        {
            Assert.IsNotNull(factory);
            Assert.IsNotNull(difficultySettings);
            Assert.IsNotNull(input);
            this.factory            = factory;
            this.difficultySettings = difficultySettings;
            this.input = input;

            fieldAnalyzer = new FieldAnalyzer(data.Field);
        }
Exemplo n.º 3
0
 public void Setup()
 {
     _classUnderTest = new FieldAnalyzer <DynamicFieldDefinition, DynamicFieldAssignment, DynamicFieldValue, string, int>();
 }
Exemplo n.º 4
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 public SimpleTextSender()
 {
     this.FieldAnalyzer = DiProvider.GetContainer().GetInstance <FieldAnalyzer>();
 }