예제 #1
0
        public void WriteYaml(Core.IEmitter emitter, object value, System.Type type)
        {
            var guid = (System.Guid)value;

            emitter.Emit(new Core.Events.Scalar(guid.ToString("D")));
        }
예제 #2
0
        public void WriteYaml(Core.IEmitter emitter, IObjectDescriptor value, IObjectGraphTraversalStrategy traversalStrategy, IObjectGraphVisitor visitor)
        {
            var guid = (System.Guid)value.Value;

            emitter.Emit(new Core.Events.Scalar(null, null, guid.ToString("D"), jsonCompatible ? ScalarStyle.DoubleQuoted : ScalarStyle.Any, true, false));
        }
예제 #3
0
        public void WriteYaml(Core.IEmitter emitter, object value, System.Type type)
        {
            var guid = (System.Guid)value;

            emitter.Emit(new Core.Events.Scalar(null, null, guid.ToString("D"), jsonCompatible ? ScalarStyle.DoubleQuoted : ScalarStyle.Any, true, false));
        }
예제 #4
0
        public void WriteYaml(Core.IEmitter emitter, object value, System.Type type)
        {
            var v = (Mugen3D.Core.Number)value;

            emitter.Emit(new Core.Events.Scalar(null, null, v.ToString(), ScalarStyle.Any, true, false));
        }