added OnEnd()
This commit is contained in:
parent
c78c36d4ce
commit
80c291aedd
|
@ -1,5 +1,5 @@
|
|||
<Properties StartupConfiguration="{E26F8159-6B4B-4660-A7A4-D0333DFEF0DD}|Default" NuGet.AddPackagesDialog.IncludePrerelease="True">
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="TYTD.Api/MyClass.cs">
|
||||
<MonoDevelop.Ide.Workbench>
|
||||
<Files>
|
||||
<File FileName="TYTD.Api/Server/Models/InfoType.cs" Line="20" Column="16" />
|
||||
<File FileName="TYTD.Api/Server/Functions/Downloader.cs" Line="18" Column="1" />
|
||||
|
@ -7,8 +7,8 @@
|
|||
<File FileName="TYTD.Api/Server/Models/SavedVideo.cs" Line="8" Column="1" />
|
||||
<File FileName="TYTD.Api/Server/Models/InfomationQueueItem.cs" Line="125" Column="50" />
|
||||
<File FileName="TYTD.Api/Server/Functions/ffmpeg.cs" Line="5" Column="15" />
|
||||
<File FileName="Program.cs" Line="126" Column="1" />
|
||||
<File FileName="TYTD.Api/MyClass.cs" Line="92" Column="6" />
|
||||
<File FileName="Program.cs" Line="539" Column="59" />
|
||||
<File FileName="TYTD.Api/MyClass.cs" Line="80" Column="14" />
|
||||
<File FileName="TYTD.Api/Server/Models/SavedChannel.cs" Line="6" Column="10" />
|
||||
<File FileName="TYTD.Api/Server/Models/SavedPlaylist.cs" Line="7" Column="1" />
|
||||
<File FileName="TYTD.Api/Server/Models/VideoDownloadProgress.cs" Line="7" Column="16" />
|
||||
|
@ -20,11 +20,15 @@
|
|||
<State name="__root__">
|
||||
<Node name="youtube-downloader" expanded="True">
|
||||
<Node name="TYTD.Api" expanded="True">
|
||||
<Node name="References" expanded="True">
|
||||
<Node name="From Packages" expanded="True" />
|
||||
<Node name="System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" selected="True" />
|
||||
</Node>
|
||||
<Node name="Packages" expanded="True" />
|
||||
<Node name="Server" expanded="True">
|
||||
<Node name="Functions" expanded="True" />
|
||||
<Node name="Models" expanded="True" />
|
||||
</Node>
|
||||
<Node name="MyClass.cs" selected="True" />
|
||||
</Node>
|
||||
<Node name="youtube-downloader" expanded="True" />
|
||||
</Node>
|
||||
|
|
|
@ -27,6 +27,7 @@ namespace TYTD.Server.Functions
|
|||
public Lockable(Func<T> recreate)
|
||||
{
|
||||
_recreate = recreate;
|
||||
Item = recreate();
|
||||
}
|
||||
Func<T> _recreate;
|
||||
public void Recreate()
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue