Inheritance: IEventEmitter
コード例 #1
0
ファイル: Serializer.cs プロジェクト: mxoconnell/GGJ_2016
		private IEventEmitter CreateEventEmitter(IEmitter emitter)
		{
			var writer = new WriterEventEmitter(emitter);

			if (IsOptionSet(SerializationOptions.JsonCompatible))
			{
				return new JsonEventEmitter(writer);
			}
			else
			{
				return new TypeAssigningEventEmitter(writer, IsOptionSet(SerializationOptions.Roundtrip));
			}
		}
コード例 #2
0
 protected override IEventEmitter CreateEventEmitter(IEmitter emitter) {
     var writer = new WriterEventEmitter(emitter);
     return new ExRelationEventEmitter(writer);
 }