Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / Security / Util / TokenBasedSetEnumerator.cs / 1 / TokenBasedSetEnumerator.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// TokenBasedSetEnumerator.cs
//
namespace System.Security.Util
{
using System;
using System.Collections;
internal struct TokenBasedSetEnumerator
{
public Object Current;
public int Index;
private TokenBasedSet _tb;
public bool MoveNext()
{
return _tb != null ? _tb.MoveNext(ref this) : false;
}
public void Reset()
{
Index = -1;
Current = null;
}
public TokenBasedSetEnumerator(TokenBasedSet tb)
{
Index = -1;
Current = null;
_tb = tb;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// TokenBasedSetEnumerator.cs
//
namespace System.Security.Util
{
using System;
using System.Collections;
internal struct TokenBasedSetEnumerator
{
public Object Current;
public int Index;
private TokenBasedSet _tb;
public bool MoveNext()
{
return _tb != null ? _tb.MoveNext(ref this) : false;
}
public void Reset()
{
Index = -1;
Current = null;
}
public TokenBasedSetEnumerator(TokenBasedSet tb)
{
Index = -1;
Current = null;
_tb = tb;
}
}
}
// 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
- TemplateControlParser.cs
- DataFormats.cs
- DataGridViewCheckBoxColumn.cs
- COM2ICategorizePropertiesHandler.cs
- LambdaCompiler.Unary.cs
- MimeAnyImporter.cs
- Claim.cs
- DisplayInformation.cs
- GifBitmapDecoder.cs
- RepeatInfo.cs
- RootCodeDomSerializer.cs
- FrameworkElement.cs
- UseLicense.cs
- MinMaxParagraphWidth.cs
- ArgumentException.cs
- PropertyDescriptorGridEntry.cs
- SQLGuid.cs
- BitmapEffectOutputConnector.cs
- TableCellCollection.cs
- TextEditorThreadLocalStore.cs
- SingleResultAttribute.cs
- SqlDuplicator.cs
- MessageDecoder.cs
- PublisherIdentityPermission.cs
- ContextStack.cs
- ParsedRoute.cs
- HttpResponseInternalWrapper.cs
- ObjectQuery_EntitySqlExtensions.cs
- XmlSchemaGroupRef.cs
- ImageClickEventArgs.cs
- printdlgexmarshaler.cs
- NamespaceDecl.cs
- Facet.cs
- CultureMapper.cs
- webbrowsersite.cs
- SQLDecimalStorage.cs
- WCFBuildProvider.cs
- MultiDataTrigger.cs
- FontResourceCache.cs
- SecurityHelper.cs
- EventMap.cs
- PartialCachingAttribute.cs
- DataGridViewButtonCell.cs
- TraceHelpers.cs
- DetailsViewPagerRow.cs
- ToolStripDropDownClosingEventArgs.cs
- OpacityConverter.cs
- PartialList.cs
- ObjectDataSourceEventArgs.cs
- HttpCacheParams.cs
- GZipDecoder.cs
- EncryptedReference.cs
- TraceSection.cs
- DependencyObjectPropertyDescriptor.cs
- TextElement.cs
- ActivitiesCollection.cs
- PackageStore.cs
- AccessorTable.cs
- Validator.cs
- SettingsSection.cs
- OleDbStruct.cs
- ValidatorCompatibilityHelper.cs
- PartialCachingControl.cs
- ClientRolePrincipal.cs
- StringAnimationBase.cs
- StylusPointProperty.cs
- DebuggerAttributes.cs
- TypeInfo.cs
- ChannelManager.cs
- TrustManagerPromptUI.cs
- DocumentViewerBaseAutomationPeer.cs
- PersonalizationStateInfoCollection.cs
- OverlappedAsyncResult.cs
- FrameworkRichTextComposition.cs
- EncryptedType.cs
- NullableConverter.cs
- precedingsibling.cs
- ReadOnlyNameValueCollection.cs
- XpsS0ValidatingLoader.cs
- CustomLineCap.cs
- ServicePointManager.cs
- FtpCachePolicyElement.cs
- ContextProperty.cs
- MsmqIntegrationInputChannel.cs
- EmbossBitmapEffect.cs
- ContainerActivationHelper.cs
- TransportListener.cs
- WebRequestModulesSection.cs
- XPathDocumentIterator.cs
- XmlIgnoreAttribute.cs
- TraceData.cs
- StrokeRenderer.cs
- TrailingSpaceComparer.cs
- SelectionBorderGlyph.cs
- SocketElement.cs
- TraceLog.cs
- NamespaceEmitter.cs
- SqlStatistics.cs
- EndEvent.cs
- DesignerLoader.cs