예제 #1
0
 /// <summary>
 /// Specify the way to store a property or field of some class or structure.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="serializeMethod">The serialize method.</param>
 public YamlMemberAttribute(string name, SerializeMemberMode serializeMethod)
 {
     this.name = name;
     this.serializeMethod = serializeMethod;
 }
예제 #2
0
 /// <summary>
 /// Specify the way to store a property or field of some class or structure.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="serializeMethod">The serialize method.</param>
 public YamlMemberAttribute(string name, SerializeMemberMode serializeMethod)
 {
     this.name            = name;
     this.serializeMethod = serializeMethod;
 }
예제 #3
0
 /// <summary>
 /// Specify the way to store a property or field of some class or structure.
 /// </summary>
 /// <param name="serializeMethod">The serialize method.</param>
 public YamlMemberAttribute(SerializeMemberMode serializeMethod)
 {
     this.serializeMethod = serializeMethod;
 }
예제 #4
0
 /// <summary>
 /// Specify the way to store a property or field of some class or structure.
 /// </summary>
 /// <param name="serializeMethod">The serialize method.</param>
 public YamlMemberAttribute(SerializeMemberMode serializeMethod)
 {
     this.serializeMethod = serializeMethod;
 }