• 大小: 1.44M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 播放器  播放  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;

namespace framework.Common.Helpers
{
    /// 
    /// 二进制序列化帮助类
    /// 

    public sealed class BinarySerializeHelper
    {
        /// 
        /// 序列化对象到指定的文件
        /// 

        /// 
        /// 
        public static void Serialize(string path object data)
        {
            using (FileStream stream = File.OpenWrite(path))
            {
                BinaryFormatter formatter = new BinaryFormatter();
                formatter.Serialize(stream data);
            }
        }
        /// 

        /

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3887  2012-11-01 21:54  SmokeMusic\framework.Common\framework.Common.csproj

     文件       1383  2012-11-01 21:35  SmokeMusic\framework.Common\Helpers\BinarySerializeHelper.cs

     文件        722  2012-10-10 21:57  SmokeMusic\framework.Common\Helpers\ConvertHelper.cs

     文件        787  2012-10-28 11:54  SmokeMusic\framework.Common\Helpers\Jsonhelper.cs

     文件       1389  2012-11-01 21:11  SmokeMusic\framework.Common\Helpers\UrlHelper.cs

     文件       2328  2012-10-10 21:19  SmokeMusic\framework.Common\obj\Debug\App.g.i.cs

     文件       6543  2012-11-01 21:20  SmokeMusic\framework.Common\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       5713  2012-11-01 22:41  SmokeMusic\framework.Common\obj\Debug\framework.Common.csproj.FileListAbsolute.txt

     文件        372  2012-10-28 11:29  SmokeMusic\framework.Common\obj\Debug\framework.Common_MarkupCompile.i.cache

     文件       3026  2012-10-10 21:19  SmokeMusic\framework.Common\obj\Debug\MainWindow.g.i.cs

     文件        755  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\Brushes.baml

     文件      12013  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\ComboBoxstyle.baml

     文件       1075  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\Commonstyle.baml

     文件       2617  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\ContextMenustyle.baml

     文件       4877  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\DataGridstyle.baml

     文件       6822  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\ScrollBarstyle.baml

     文件       1738  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\TextBlockstyle.baml

     文件        955  2012-10-27 16:24  SmokeMusic\framework.Common\obj\Debug\styles\TextBoxstyle.baml

     文件          0  2012-10-10 21:19  SmokeMusic\framework.Common\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2012-10-10 21:19  SmokeMusic\framework.Common\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2012-10-10 21:19  SmokeMusic\framework.Common\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       4608  2012-10-28 11:40  SmokeMusic\framework.Common\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       7548  2012-10-24 18:10  SmokeMusic\framework.Common\obj\Release\DesignTimeResolveAssemblyReferencesInput.cache

     文件        463  2012-10-24 18:10  SmokeMusic\framework.Common\obj\Release\framework.Common_MarkupCompile.i.cache

     文件       4608  2012-10-24 13:59  SmokeMusic\framework.Common\obj\Release\TempPE\Properties.Resources.Designer.cs.dll

     文件       1244  2012-10-29 19:08  SmokeMusic\framework.Common\Properties\AssemblyInfo.cs

     文件       2872  2012-10-28 11:40  SmokeMusic\framework.Common\Properties\Resources.Designer.cs

     文件       5612  2012-10-10 21:19  SmokeMusic\framework.Common\Properties\Resources.resx

     文件       1116  2012-10-28 11:40  SmokeMusic\framework.Common\Properties\Settings.Designer.cs

     文件        201  2012-10-10 21:19  SmokeMusic\framework.Common\Properties\Settings.settings

............此处省略517个文件信息

评论

共有 条评论