예제 #1
0
		// For Tuple
		public SerializingMember( string name )
		{
#if DEBUG
			MPContract.Assert( name.StartsWith( "Item" ), name + ".StartsWith(\"Item\")" );
#endif // DEBUG
			this.Member = null;
			this.Contract = default ( DataMemberContract );
			this.MemberName = name;
		}
예제 #2
0
        // For Tuple
        public SerializingMember(string name)
        {
#if DEBUG
            MPContract.Assert(name.StartsWith("Item"), name + ".StartsWith(\"Item\")");
#endif // DEBUG
            this.Member     = null;
            this.Contract   = default(DataMemberContract);
            this.MemberName = name;
        }
예제 #3
0
		public SerializingMember( MemberInfo member, DataMemberContract contract )
		{
#if DEBUG
			MPContract.Assert( member != null );
#endif // DEBUG
			this.Member = member;
			this.Contract = contract;
			// Use contract name for aliased map serialization.
			this.MemberName = member == null ? null : contract.Name;
		}
예제 #4
0
        public SerializingMember(MemberInfo member, DataMemberContract contract)
        {
#if DEBUG
            MPContract.Assert(member != null);
#endif // DEBUG
            this.Member   = member;
            this.Contract = contract;
            // Use contract name for aliased map serialization.
            this.MemberName = member == null ? null : contract.Name;
        }
예제 #5
0
		public SerializingMember( MemberInfo member, DataMemberContract contract )
		{
			this.Member = member;
			this.Contract = contract;
		}
예제 #6
0
		public SerializingMember()
		{
			this.Member = null;
			this.Contract = new DataMemberContract ();
		}
예제 #7
0
 public SerializingMember(MemberInfo member, DataMemberContract contract)
 {
     this.Member   = member;
     this.Contract = contract;
 }
예제 #8
0
 public SerializingMember()
 {
     this.Member   = null;
     this.Contract = new DataMemberContract();
 }