페이스북 sdk 컴파일 오류 7.5
{
resultContainer.ResultDictionary = new Dictionary< string, object >( 1 );
}
resultContainer.ResultDictionary[Constants.CallbackIdKey]
= this.CallbackManager.AddFacebookDelegate(loginCallback);
this.OnLoginComplete(resultContainer);
public virtual void OnInitComplete(ResultContainer resultContainer)
{
this.Initialized = true;
// Wait for the parsing of login to complete since we may need to pull
// in more info about the access token returned
FacebookDelegate<ILoginResult> loginCallback = (ILoginResult result) =>
{
if (this.onInitCompleteDelegate != null)
{
this.onInitCompleteDelegate();
}
};
//resultContainer.ResultDictionary[Constants.CallbackIdKey]
// = this.CallbackManager.AddFacebookDelegate(loginCallback);
//this.OnLoginComplete(resultContainer);
if (resultContainer.ResultDictionary == null)
{
resultContainer.ResultDictionary = new Dictionary<string, object>(1);
}
resultContainer.ResultDictionary[Constants.CallbackIdKey]
= this.CallbackManager.AddFacebookDelegate(loginCallback);
this.OnLoginComplete(resultContainer);
}