Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -54,4 +53,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Configuration;
@ -42,4 +41,3 @@ namespace System.Web.Profile
}
#endif

View File

@ -26,7 +26,6 @@
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
namespace System.Web.Profile
{
public enum ProfileAuthenticationOption
@ -36,4 +35,3 @@ namespace System.Web.Profile
All = 2
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -59,4 +58,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -34,4 +33,3 @@ namespace System.Web.Profile
public delegate void ProfileAutoSaveEventHandler (object sender, ProfileAutoSaveEventArgs e);
}
#endif

View File

@ -27,7 +27,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Configuration;
using System.Configuration.Provider;
@ -47,22 +46,7 @@ namespace System.Web.Profile
SettingsPropertyValueCollection _propertiyValues = null;
const string Profiles_SettingsPropertyCollection = "Profiles.SettingsPropertyCollection";
#if TARGET_J2EE
static SettingsPropertyCollection _properties
{
get
{
object o = AppDomain.CurrentDomain.GetData (Profiles_SettingsPropertyCollection);
return (SettingsPropertyCollection) o;
}
set
{
AppDomain.CurrentDomain.SetData (Profiles_SettingsPropertyCollection, value);
}
}
#else
static SettingsPropertyCollection _properties = null;
#endif
static void InitProperties ()
{
@ -381,4 +365,3 @@ namespace System.Web.Profile
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -60,4 +59,3 @@ namespace System.Web.Profile
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -34,4 +33,3 @@ namespace System.Web.Profile
public delegate void ProfileEventHandler (object sender, ProfileEventArgs e);
}
#endif

View File

@ -27,7 +27,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Configuration;
@ -69,4 +68,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -91,4 +90,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Collections;
@ -126,4 +125,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -27,7 +27,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Web;
using System.Web.Configuration;
@ -37,39 +36,6 @@ namespace System.Web.Profile
{
public static class ProfileManager
{
#if TARGET_J2EE
const string Profiles_config = "Profiles.config";
const string Profiles_ProfileProviderCollection = "Profiles.ProfileProviderCollection";
static ProfileSection config
{
get
{
object o = AppDomain.CurrentDomain.GetData (Profiles_config);
if (o == null) {
config = (ProfileSection) WebConfigurationManager.GetSection ("system.web/profile");
return (ProfileSection) config;
}
return (ProfileSection) o;
}
set
{
AppDomain.CurrentDomain.SetData (Profiles_config, value);
}
}
static ProfileProviderCollection providersCollection
{
get
{
object o = AppDomain.CurrentDomain.GetData (Profiles_ProfileProviderCollection);
return (ProfileProviderCollection) o;
}
set
{
AppDomain.CurrentDomain.SetData (Profiles_ProfileProviderCollection, value);
}
}
#else
static ProfileSection config;
static ProfileProviderCollection providersCollection;
@ -77,7 +43,6 @@ namespace System.Web.Profile
{
config = (ProfileSection) WebConfigurationManager.GetSection ("system.web/profile");
}
#endif
public static int DeleteInactiveProfiles (ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate)
{
@ -212,4 +177,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Web;
@ -57,4 +56,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Configuration;
@ -35,4 +34,3 @@ namespace System.Web.Profile
public delegate void ProfileMigrateEventHandler (object sender, ProfileMigrateEventArgs e);
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.ComponentModel;
using System.Web;
@ -138,4 +137,3 @@ namespace System.Web.Profile
}
}
}
#endif

View File

@ -25,7 +25,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Collections;
@ -74,4 +73,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Configuration;
@ -59,4 +58,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -49,4 +48,3 @@ namespace System.Web.Profile
}
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.Configuration;
using System.Configuration.Provider;
@ -54,4 +53,3 @@ namespace System.Web.Profile
}
#endif

View File

@ -26,7 +26,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
namespace System.Web.Profile
@ -55,4 +54,3 @@ namespace System.Web.Profile
}
}
#endif

Some files were not shown because too many files have changed in this diff Show More