mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
125 lines
2.8 KiB
C#
125 lines
2.8 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="ProfilePropertyMetadata.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.ApplicationServices
|
|
{
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
[DataContract]
|
|
public class ProfilePropertyMetadata : IExtensibleDataObject
|
|
{
|
|
private ExtensionDataObject _extensionDataObject;
|
|
private String _propertyName;
|
|
|
|
public ExtensionDataObject ExtensionData {
|
|
get {
|
|
return _extensionDataObject;
|
|
}
|
|
set {
|
|
_extensionDataObject = value;
|
|
}
|
|
}
|
|
|
|
[DataMember]
|
|
public String PropertyName
|
|
{
|
|
get
|
|
{
|
|
return _propertyName;
|
|
}
|
|
set
|
|
{
|
|
_propertyName = value;
|
|
}
|
|
}
|
|
|
|
private String _typeName;
|
|
[DataMember]
|
|
public String TypeName
|
|
{
|
|
get
|
|
{
|
|
return _typeName;
|
|
}
|
|
set
|
|
{
|
|
_typeName = value;
|
|
}
|
|
}
|
|
|
|
private bool _allowAnonymousAccess;
|
|
[DataMember]
|
|
public bool AllowAnonymousAccess
|
|
{
|
|
get
|
|
{
|
|
return _allowAnonymousAccess;
|
|
}
|
|
set
|
|
{
|
|
_allowAnonymousAccess = value;
|
|
}
|
|
}
|
|
|
|
private bool _isReadOnly;
|
|
[DataMember]
|
|
public bool IsReadOnly
|
|
{
|
|
get
|
|
{
|
|
return _isReadOnly;
|
|
}
|
|
set
|
|
{
|
|
_isReadOnly = value;
|
|
}
|
|
}
|
|
/* Uncommnet once accessmode is available
|
|
public ProfileServiceAccess _accessMode;
|
|
[DataMember]
|
|
public ProfileServiceAccess AccessMode
|
|
{
|
|
get
|
|
{
|
|
return _accessMode;
|
|
}
|
|
set
|
|
{
|
|
_accessMode = value;
|
|
}
|
|
}
|
|
*/
|
|
private int _serializeAs;
|
|
[DataMember]
|
|
public int SerializeAs
|
|
{
|
|
get
|
|
{
|
|
return _serializeAs;
|
|
}
|
|
set
|
|
{
|
|
_serializeAs = value;
|
|
}
|
|
}
|
|
|
|
private string _defaultValue;
|
|
[DataMember]
|
|
public string DefaultValue
|
|
{
|
|
get
|
|
{
|
|
return _defaultValue;
|
|
}
|
|
set
|
|
{
|
|
_defaultValue = value;
|
|
}
|
|
}
|
|
}
|
|
}
|