|
using System;
using System.Collections.Generic;
using System.Text;
using Bulasoft.Common.Elements;
namespace ConsoleApplication1.data
{
[Serialization("Logging",null,true)]
public class LogInfo : Element
{
private const string PassswordName = "pswd";
private string _password;
[Serialization(PassswordName, SerializationSettings.Encrypt | SerializationSettings.SerializeAsAttribute)]
public string Password
{
get { return _password; }
set
{
if (_password != value)
{
LogChange(PassswordName, _password, value);
_password = value;
}
}
}
private const string UserNameName = "user";
private string _userName;
[Serialization(UserNameName, SerializationSettings.SerializeAsAttribute)]
public string UserName
{
get { return _userName; }
set
{
if (_password != value)
{
LogChange(UserNameName, _userName, value);
_userName = value;
}
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.