Example #1
0
        public static WrappedIO Delete(string pPath)
        {
            WrappedIO io = new WrappedIO(pPath);

            io.Delete();
            return(io);
        }
Example #2
0
        /// <summary>
        /// Loads all the content from the given path.
        /// On Windows Store Apps BridgeConfiguration is used to determine the path.
        /// </summary>
        /// <param name="pPath">P path.</param>
        public static WrappedIO Load(string pPath)
        {
            WrappedIO io = new WrappedIO(pPath);

            io.Load();
            return(io);
        }
Example #3
0
        public static WrappedIO Exists(string pPath)
        {
            WrappedIO io = new WrappedIO(pPath);

            io.Exists();
            return(io);
        }
Example #4
0
        /// <summary>
        /// Save the given content to the given path destination.
        /// On Windows Store Apps BridgeConfiguration is used to determine the path.
        /// </summary>
        /// <param name="pPath">P path.</param>
        /// <param name="pContent">P content.</param>
        public static WrappedIO Save(string pPath, string pContent)
        {
            WrappedIO io = new WrappedIO(pPath, pContent);

            io.Write();
            return(io);
        }
Example #5
0
        /// <summary>
        /// Save the given content to the given path destination. 
        /// On Windows Store Apps BridgeConfiguration is used to determine the path. 
        /// </summary>
        /// <param name="pPath">P path.</param>
        /// <param name="pContent">P content.</param>
        public static WrappedIO Save(string pPath, string pContent)
        {
            WrappedIO io = new WrappedIO(pPath,pContent);

            io.Write();
            return io;
        }
Example #6
0
 /// <summary>
 /// Loads all the content from the given path. 
 /// On Windows Store Apps BridgeConfiguration is used to determine the path. 
 /// </summary>
 /// <param name="pPath">P path.</param>
 public static WrappedIO Load(string pPath)
 {
     WrappedIO io = new WrappedIO(pPath);
     io.Load();
     return io;
 }
Example #7
0
 public static WrappedIO Exists(string pPath)
 {
     WrappedIO io = new WrappedIO(pPath);
     io.Exists();
     return io;
 }
Example #8
0
 public static WrappedIO Delete(string pPath)
 {
     WrappedIO io = new WrappedIO (pPath);
     io.Delete ();
     return io;
 }