Exemplo n.º 1
0
 internal DynamicTable SetMemberAsTable(ObjectReference reference, DynamicTable table)
 {
     if (reference == null)
     {
         throw new ArgumentNullException("reference");
     }
     _members.TryUpdate(reference.GetName(), table, reference);
     return((DynamicTable)_members[reference.GetName()]);
 }
Exemplo n.º 2
0
 internal DynamicSchema SetMemberAsSchema(ObjectReference reference, DynamicSchema schema)
 {
     if (reference == null)
     {
         throw new ArgumentNullException("reference");
     }
     _members.TryUpdate(reference.GetName(), schema, reference);
     return((DynamicSchema)_members[reference.GetName()]);
 }
Exemplo n.º 3
0
 internal DynamicSchema SetMemberAsSchema(ObjectReference reference)
 {
     if (ReferenceEquals(reference, null))
     {
         throw new ArgumentNullException("reference");
     }
     _members.TryUpdate(reference.GetName(), new DynamicSchema(reference.GetName(), this), reference);
     return((DynamicSchema)_members[reference.GetName()]);
 }