Bloom.Book.BookMetaData.SetUploader C# (CSharp) Method

SetUploader() public method

public SetUploader ( string id ) : void
id string
return void
        public void SetUploader(string id)
        {
            // The uploader is stored in a way that makes the json that parse.com requires for a 'pointer'
            // to an object in another table: in this case the special table of users.
            if (Uploader == null)
                Uploader = new ParseDotComObjectPointer() { ClassName = "_User" };
            Uploader.ObjectId = id;
        }