MongoDB.Bson.Serialization.BsonCreatorMap.SetArguments C# (CSharp) Method

SetArguments() public method

Sets the arguments for the creator map.
public SetArguments ( IEnumerable arguments ) : BsonCreatorMap
arguments IEnumerable The arguments.
return BsonCreatorMap
        public BsonCreatorMap SetArguments(IEnumerable<MemberInfo> arguments)
        {
            if (arguments == null)
            {
                throw new ArgumentNullException("arguments");
            }
            if (_isFrozen) { ThrowFrozenException(); }
            _arguments = new List<MemberInfo>(arguments);
            return this;
        }

Same methods

BsonCreatorMap::SetArguments ( IEnumerable argumentNames ) : BsonCreatorMap