コード例 #1
0
ファイル: ObjectBrowser.cs プロジェクト: retahc/old-code
        private void SetupFormatters()
        {
            AllRecordFactory all;

            recordFactory     = new MemberRecordFactory [6];
            recordFactory [0] = all = new AllRecordFactory(flags);
            recordFactory [1] = new FieldRecordFactory(flags);
            recordFactory [2] = new PropertyRecordFactory(flags);
            recordFactory [3] = new MethodRecordFactory(flags);
            recordFactory [4] = new ConstructorRecordFactory(flags);
            recordFactory [5] = new EventRecordFactory(flags);
            all.Add(recordFactory [1]);
            all.Add(recordFactory [2]);
            all.Add(recordFactory [3]);
            all.Add(recordFactory [4]);
            all.Add(recordFactory [5]);
            factory = recordFactory [0];
        }
コード例 #2
0
ファイル: ObjectBrowser.cs プロジェクト: emtees/old-code
		private void SetupFormatters ()
		{
			AllRecordFactory all;

			recordFactory = new MemberRecordFactory [6];
			recordFactory [0] = all = new AllRecordFactory (flags);
			recordFactory [1] = new FieldRecordFactory (flags);
			recordFactory [2] = new PropertyRecordFactory (flags);
			recordFactory [3] = new MethodRecordFactory (flags);
			recordFactory [4] = new ConstructorRecordFactory (flags);
			recordFactory [5] = new EventRecordFactory (flags);
			all.Add (recordFactory [1]);
			all.Add (recordFactory [2]);
			all.Add (recordFactory [3]);
			all.Add (recordFactory [4]);
			all.Add (recordFactory [5]);
			factory = recordFactory [0];
		}