1 type derived from ProfileBase
System.Web (1)
Profile\DefaultHttpProfile.cs (1)
16
public class DefaultProfile :
ProfileBase
53 references to ProfileBase
System.Web (34)
Abstractions\HttpContextBase.cs (1)
158
public virtual
ProfileBase
Profile {
Abstractions\HttpContextWrapper.cs (1)
163
public override
ProfileBase
Profile {
Compilation\BaseCodeDomTreeGenerator.cs (1)
510
string typeName =
ProfileBase
.GetProfileClassName();
Compilation\ProfileBuildProvider.cs (5)
52
if (
ProfileBase
.GetPropertiesForCompilation().Count == 0 && !
ProfileBase
.InheritsFromCustomType && ProfileManager.DynamicProfileProperties.Count == 0) {
89
Hashtable properties =
ProfileBase
.GetPropertiesForCompilation();
92
Type baseType = Type.GetType(
ProfileBase
.InheritsFromTypeString, false);
114
type.BaseTypes.Add(new CodeTypeReference(
ProfileBase
.InheritsFromTypeString));
HttpContext.cs (3)
81
internal
ProfileBase
_Profile;
1275
public
ProfileBase
Profile {
1278
_Profile =
ProfileBase
.Create(Request.IsAuthenticated ? User.Identity.Name : Request.AnonymousID, Request.IsAuthenticated);
Profile\HttpProfileBase.cs (16)
178
static public
ProfileBase
Create(string username) {
183
static public
ProfileBase
Create(string username, bool isAuthenticated) {
226
if (!typeof(
ProfileBase
).IsAssignableFrom(t)) {
235
string defaultType = typeof(
ProfileBase
).ToString();
250
if (!typeof(
ProfileBase
).IsAssignableFrom(t))
270
if (t == null || t != typeof(
ProfileBase
))
279
internal static
ProfileBase
SingletonInstance { get { return s_SingletonInstance; } }
359
static private
ProfileBase
CreateMyInstance(string username, bool isAuthenticated) {
365
ProfileBase
hbc = (
ProfileBase
)Activator.CreateInstance(t);
390
Type baseType =
ProfileBase
.InheritsFromType;
396
ProfileBase
.AddPropertySettingsFromConfig(baseType, fAnonEnabled, hasLowTrust, ProfileManager.DynamicProfileProperties, null);
400
if (baseType != typeof(
ProfileBase
)) {
403
PropertyInfo[] baseProps = typeof(
ProfileBase
).GetProperties();
491
if (baseType != typeof(
ProfileBase
) && s_Properties[name] != null)
659
private static
ProfileBase
s_SingletonInstance = null;
Profile\HttpProfileGroupBase.cs (2)
45
public void Init(
ProfileBase
parent, string myName) {
52
private
ProfileBase
_Parent;
Profile\ProfileEventArgs.cs (2)
33
public
ProfileBase
Profile { get { return _Profile; } set { _Profile = value; } }
34
private
ProfileBase
_Profile;
Profile\ProfileModule.cs (1)
138
if (context._Profile == null || (object)context._Profile == (object)
ProfileBase
.SingletonInstance)
WebSockets\AspNetWebSocketContext.cs (1)
123
public virtual
ProfileBase
Profile {
WebSockets\AspNetWebSocketContextImpl.cs (1)
173
public override
ProfileBase
Profile {
System.Web.Extensions (19)
ApplicationServices\ApplicationServiceHelper.cs (2)
172
if (
ProfileBase
.Properties == null) {
178
foreach (SettingsProperty property in
ProfileBase
.Properties) {
ApplicationServices\KnownTypesProvider.cs (3)
18
if (
ProfileBase
.Properties == null)
20
Type[] retArray = new Type[
ProfileBase
.Properties.Count];
22
foreach (SettingsProperty property in
ProfileBase
.Properties)
ApplicationServices\ProfileService.cs (8)
75
ProfileBase
pb = null;
126
ProfileBase
pb = GetProfileForCurrentUser(authenticatedUserOnly);
174
ProfileBase
pb = GetProfileForCurrentUser(authenticatedUserOnly);
195
SettingsProperty settingProperty =
ProfileBase
.Properties[propertyName];
263
private static SettingsPropertyValue GetPropertyValue(
ProfileBase
pb, string name) {
264
SettingsProperty prop =
ProfileBase
.Properties[name];
283
private static
ProfileBase
GetProfileForCurrentUser(bool authenticatedUserOnly) {
309
return
ProfileBase
.Create(name, isAuthenticated);
Profile\ProfileService.cs (3)
36
ProfileBase
profile = context.Profile;
86
ProfileBase
profile = context.Profile;
96
SettingsProperty settingProperty =
ProfileBase
.Properties[propertyName];
UI\ProfileServiceManager.cs (3)
135
ProfileBase
profile = context.Profile;
165
ProfileBase
profile,
202
bool exists =
ProfileBase
.Properties[fullPropertyName] != null;