Plugin.EmbeddedResource/ResourceWriter.cs
/// <summary>
/// Writes all of the embedded resources in a project folder to the target directory
/// </summary>
/// <param name="sourceDirectory">Path to embedded resources in assembly.</param>
/// <param name="targetDirectory">Path to folder where resources will be written.</param>
/// <param name="recursive">Descend into subdirectories to retrieve resources.  
/// Recursive writes will treat "." as path delimiters (excluding a final "." for the file extension). 
/// Non-recursive treats all "." as part of the file name.</param>
/// <returns>
/// A <see cref="Task"/> which will complete after the folder is written
/// </returns>
Writes all of the embedded resources in a project folder to the target directory
Writes all of the embedded resources in a project folder to the target directory
public async Task WriteFolder (string sourceDirectory, string targetDirectory = "", bool recursive = true, CreationCollisionOption option =  CreationCollisionOption.ReplaceExisting) {
			await WriteFolder (
				this.Assembly, 
				sourceDirectory, 
				targetDirectory, 
				recursive,
				option);
		}
public async Task WriteFolder ( string sourceDirectory , string targetDirectory = " " , bool recursive = true , CreationCollisionOption option = CreationCollisionOption . ReplaceExisting ) { await WriteFolder ( this . Assembly , sourceDirectory , targetDirectory , recursive , option ) ; }
Writes all of the embedded resources in a project folder to the target directory
Writes all of the embedded resources in a project folder to the target directory
A  which will complete after the folder is written
A which will complete after the folder is written
sourceDirectory
string
Path to embedded resources in assembly.
Path to embedded resources in assembly .
targetDirectory
string
Path to folder where resources will be written.
Path to folder where resources will be written .
recursive
bool
Descend into subdirectories to retrieve resources.
Recursive writes will treat "." as path delimiters (excluding a final "." for the file extension).
Non-recursive treats all "." as part of the file name.
Descend into subdirectories to retrieve resources . Recursive writes will treat " . " as path delimiters ( excluding a final " . " for the file extension ) . Non - recursive treats all " . " as part of the file name .
option
CreationCollisionOption