Beispiel #1
0
        public IArtistBrowse Browse(IArtist artist, ArtistBrowseType browseType, object userData = null)
        {
            if (!(artist is INativeObject))
            {
                throw new ArgumentException("Invalid type");
            }

            AssertHandle();

            var browse = new NativeArtistBrowse(this, artist.GetHandle(), browseType);

            browse.Initialize();
            return(browse);
        }
Beispiel #2
0
        public IArtistBrowse Browse(IArtist artist, ArtistBrowseType browseType, object userData = null)
        {
            if (!(artist is INativeObject))
            {
                throw new ArgumentException("Invalid type");
            }

            AssertHandle();

            var browse = new NativeArtistBrowse(this, artist.GetHandle(), browseType);
            browse.Initialize();
            return browse;
        }