Microsoft.ApplicationInsights.Extensibility.Implementation.SnapshottingCollection.CreateSnapshot(TCollection)

Here are the examples of the csharp api class Microsoft.ApplicationInsights.Extensibility.Implementation.SnapshottingCollection.CreateSnapshot(TCollection) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: ApplicationInsights-dotnet
Source File: SnapshottingCollection.cs
protected TCollection GetSnapshot()
        {
            TCollection localSnapshot = this.snapshot;
            if (localSnapshot == null)
            {
                lock (this.Collection)
                {
                    this.snapshot = this.CreateSnapshot(this.Collection);
                    localSnapshot = this.snapshot;
                }
            }

            return localSnapshot;
        }