Plugin.EmbeddedResource/ResourceWriter.cs
/// <summary>
/// Determines which storage in FileSystem.Current that is represented by the path
/// </summary>
/// <param name="path">Path to be parsed.</param>
/// <returns>
/// IFolder that contains path.  Returns null if there is no matching storage
/// </returns>
Determines which storage in FileSystem.Current that is represented by the path
Determines which storage in FileSystem . Current that is represented by the path
private static IFolder GetStorageFromPath (string path) {
			if (path.StartsWith (FileSystem.Current.LocalStorage.Path)) 
			    return FileSystem.Current.LocalStorage;
			if (path.StartsWith (FileSystem.Current.RoamingStorage.Path))
				return FileSystem.Current.RoamingStorage;
			return null;
		}
private static IFolder GetStorageFromPath ( string path ) { if ( path . StartsWith ( FileSystem . Current . LocalStorage . Path ) ) return FileSystem . Current . LocalStorage ; if ( path . StartsWith ( FileSystem . Current . RoamingStorage . Path ) ) return FileSystem . Current . RoamingStorage ; return null ; }
Determines which storage in FileSystem.Current that is represented by the path
Determines which storage in FileSystem . Current that is represented by the path
IFolder that contains path.  Returns null if there is no matching storage
IFolder that contains path . Returns null if there is no matching storage
path
string
Path to be parsed.
Path to be parsed .