Artemis.DAL.ProfileProvider.ExportProfile C# (CSharp) 메소드

ExportProfile() 공개 정적인 메소드

Exports the given profile to the provided path in XML
public static ExportProfile ( ProfileModel prof, string path ) : void
prof Artemis.Profiles.ProfileModel The profile to export
path string The path to save the profile to
리턴 void
        public static void ExportProfile(ProfileModel prof, string path)
        {
            var json = JsonConvert.SerializeObject(prof);
            File.WriteAllText(path, json);
        }