wangfu91 / doubanfm Goto Github PK
View Code? Open in Web Editor NEWDouban FM Windows desktop client Using WPF + Prism
Douban FM Windows desktop client Using WPF + Prism
System.ArgumentOutOfRangeException was unhandled by user code
HResult=-2146233086
Message=索引超出范围。必须为非负值并小于集合大小。
ParamName=index
Source=mscorlib
StackTrace:
* 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
在 System.Collections.Generic.List`1.get_Item(Int32 index)
在 DoubanFM.Desktop.API.Services.LyricController.<RefreshAsync>b__33_0() 位置 C:\Users\Frank\Source\Repos\Douban\DoubanFM.Desktop.API\Services\LyricController.cs:行号 135
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()
System.ArgumentException was unhandled
_message=Must create DependencySource on same Thread as the DependencyObject.
Microsoft.Practices.Unity.ResolutionFailedException was unhandled by user code
HResult=-2146233088
Message=Resolution of the dependency failed, type = "DoubanFM.Desktop.NowPlaying.Views.NowPlayingView", name = "(none)".
Exception occurred while: while resolving.
At the time of the exception, the container was:
Resolving DoubanFM.Desktop.NowPlaying.Views.NowPlayingView,(none)
Resolving parameter "viewModel" of constructor DoubanFM.Desktop.NowPlaying.Views.NowPlayingView(DoubanFM.Desktop.NowPlaying.ViewModels.NowPlayingViewModel viewModel)
Resolving DoubanFM.Desktop.NowPlaying.ViewModels.NowPlayingViewModel,(none)
Resolving parameter "songService" of constructor DoubanFM.Desktop.NowPlaying.ViewModels.NowPlayingViewModel(Prism.Events.IEventAggregator eventAggregator, DoubanFM.Desktop.Audio.IAudioEngine playEngine, DoubanFM.Desktop.API.Services.ISongService songService, DoubanFM.Desktop.API.Services.ILyricsService lyricService)
Resolving DoubanFM.Desktop.API.Services.SongService,(none) (mapped from DoubanFM.Desktop.API.Services.ISongService, (none))
Resolving parameter "accessToken" of constructor DoubanFM.Desktop.API.Services.SongService(System.String accessToken)
Resolving System.String,(none)
Source=Microsoft.Practices.Unity
TypeRequested=NowPlayingView
StackTrace:
在 Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides) 在 Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides) 在 Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides) 在 DoubanFM.Desktop.NowPlaying.NowPlayingModule.<Initialize>b__3_0() 位置 C:\Users\Frank\Source\Repos\Douban\DoubanFM.Desktop.NowPlaying\NowPlayingModule.cs:行号 31 在 Prism.Regions.Behaviors.AutoPopulateRegionBehavior.OnViewRegistered(Object sender, ViewRegisteredEventArgs e) InnerException: HResult=-2146233079 Message=The type String cannot be constructed. You must configure the container to supply this value. Source=Microsoft.Practices.Unity StackTrace: 在 Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.GuardTypeIsNonPrimitive(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.CreatePlan(IBuilderContext context, NamedTypeBuildKey buildKey) 在 Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) 在 Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) 在 lambda_method(Closure , IBuilderContext ) 在 Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) 在 Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) 在 lambda_method(Closure , IBuilderContext ) 在 Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) 在 Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) 在 lambda_method(Closure , IBuilderContext ) 在 Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) 在 Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) 在 Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable
1 resolverOverrides)
InnerException:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.