Open.Core.PartDownloader.CreateTimout C# (CSharp) Method

CreateTimout() private method

private CreateTimout ( ) : DelayedAction
return DelayedAction
        private DelayedAction CreateTimout()
        {
            // TODO : PartDownloader
            //DelayedAction timer = new DelayedAction(definition.DownloadTimeout, delegate
            //                {
            //                    string msg = downloaded
            //                                ? string.Format("Failed to initialize the Part at '{0}'.  The Part did not call back from its 'OnInitialize' method.", EntryPoint)
            //                                : string.Format("Failed to download the Part at '{0}'.  Timed out.", EntryPoint);
            //                    SetDownloadError(msg);
            //                    if (onComplete != null) onComplete(null);
            //                });
//            return timer;

            return null;
        }