singrdk/base/Kernel/Singularity.Directory/Property.sg

36 lines
826 B
Plaintext
Raw Permalink Normal View History

2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
2008-11-17 18:29:00 -05:00
#if !SINGULARITY_PROCESS
2008-03-05 09:52:00 -05:00
namespace Microsoft.Singularity.Directory
#else
namespace Microsoft.Application.DSP
2008-11-17 18:29:00 -05:00
#endif
2008-03-05 09:52:00 -05:00
{
public class Property
{
2008-11-17 18:29:00 -05:00
private string! name;
private byte[]! value;
2008-03-05 09:52:00 -05:00
public Property(string! name, byte[]! value)
{
this.name = name;
this.value = value;
}
public string! Name
{
2008-11-17 18:29:00 -05:00
get { return name; }
2008-03-05 09:52:00 -05:00
}
public byte[]! Value
{
2008-11-17 18:29:00 -05:00
get { return value; }
set { this.value = value; }
2008-03-05 09:52:00 -05:00
}
}
}