Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / ApplicationServices / CreatingCookieEventArgs.cs / 1305376 / CreatingCookieEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.ApplicationServices
{
using System;
public class CreatingCookieEventArgs : EventArgs {
private string _userName;
public string UserName {
get { return _userName; }
}
private string _password;
public string Password {
get { return _password; }
}
private string _customCredential ;
public string CustomCredential {
get { return _customCredential;}
}
private bool _isPersistent ;
public bool IsPersistent {
get { return _isPersistent;}
}
private bool _cookieIsSet;
public bool CookieIsSet {
set { _cookieIsSet = value; }
get { return _cookieIsSet; }
}
internal CreatingCookieEventArgs(string username, string password, bool isPersistent, string customCredential ) {
_cookieIsSet = false;
_userName = username;
_password = password;
_password = password;
_isPersistent = isPersistent;
_customCredential = customCredential;
}
//hiding default constructor
private CreatingCookieEventArgs() { }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.ApplicationServices
{
using System;
public class CreatingCookieEventArgs : EventArgs {
private string _userName;
public string UserName {
get { return _userName; }
}
private string _password;
public string Password {
get { return _password; }
}
private string _customCredential ;
public string CustomCredential {
get { return _customCredential;}
}
private bool _isPersistent ;
public bool IsPersistent {
get { return _isPersistent;}
}
private bool _cookieIsSet;
public bool CookieIsSet {
set { _cookieIsSet = value; }
get { return _cookieIsSet; }
}
internal CreatingCookieEventArgs(string username, string password, bool isPersistent, string customCredential ) {
_cookieIsSet = false;
_userName = username;
_password = password;
_password = password;
_isPersistent = isPersistent;
_customCredential = customCredential;
}
//hiding default constructor
private CreatingCookieEventArgs() { }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FactoryGenerator.cs
- InlineObject.cs
- MdiWindowListStrip.cs
- ObjectResult.cs
- Point.cs
- StateMachineWorkflow.cs
- WindowsAuthenticationEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- SetStoryboardSpeedRatio.cs
- JournalEntryStack.cs
- StretchValidation.cs
- CopyAction.cs
- PersonalizationProviderCollection.cs
- IDReferencePropertyAttribute.cs
- Baml2006SchemaContext.cs
- WebBrowser.cs
- XmlDeclaration.cs
- CodeMemberField.cs
- DocumentProperties.cs
- StorageComplexTypeMapping.cs
- ReadWriteSpinLock.cs
- IBuiltInEvidence.cs
- FormatterConverter.cs
- SupportsEventValidationAttribute.cs
- MappingItemCollection.cs
- ErrorFormatterPage.cs
- JulianCalendar.cs
- WebProxyScriptElement.cs
- LocalizableResourceBuilder.cs
- ImageIndexConverter.cs
- CreateRefExpr.cs
- ChildrenQuery.cs
- DataGridViewCheckBoxColumn.cs
- ComContractElementCollection.cs
- FilteredXmlReader.cs
- Parameter.cs
- PolicyStatement.cs
- LineGeometry.cs
- CollectionEditVerbManager.cs
- Int64Storage.cs
- TagNameToTypeMapper.cs
- StylusPointPropertyId.cs
- _SslStream.cs
- AttachmentCollection.cs
- PropertyRecord.cs
- TextOnlyOutput.cs
- Size3DValueSerializer.cs
- Query.cs
- ConfigurationSectionGroup.cs
- RuntimeEnvironment.cs
- QueryInterceptorAttribute.cs
- MediaSystem.cs
- TypeBuilder.cs
- HorizontalAlignConverter.cs
- DummyDataSource.cs
- GenericIdentity.cs
- XmlArrayAttribute.cs
- EncodingTable.cs
- ThreadExceptionDialog.cs
- CompatibleIComparer.cs
- Fonts.cs
- UserNameSecurityTokenProvider.cs
- ResourceReferenceExpressionConverter.cs
- SimpleTypeResolver.cs
- DeferredElementTreeState.cs
- ClientCultureInfo.cs
- HtmlControlPersistable.cs
- AbsoluteQuery.cs
- WebBrowsableAttribute.cs
- SrgsGrammarCompiler.cs
- DPTypeDescriptorContext.cs
- XmlComplianceUtil.cs
- DefaultTextStore.cs
- ScrollEventArgs.cs
- BindToObject.cs
- DataGridViewRowCollection.cs
- PersonalizationAdministration.cs
- StyleCollection.cs
- XPathAncestorQuery.cs
- ComponentResourceKey.cs
- VisualTransition.cs
- CodeExpressionStatement.cs
- ModelMemberCollection.cs
- ItemsControlAutomationPeer.cs
- PersistenceException.cs
- ResourceProviderFactory.cs
- DeclaredTypeElement.cs
- clipboard.cs
- MatchSingleFxEngineOpcode.cs
- NodeCounter.cs
- RegionIterator.cs
- ToolStripMenuItem.cs
- OleDbCommandBuilder.cs
- SafeHandles.cs
- FixedSOMPage.cs
- Sequence.cs
- ObjectItemCollection.cs
- PointCollection.cs
- LongValidatorAttribute.cs
- WorkflowWebService.cs