コード例 #1
0
			public RecordingSession(RepositorySharedContext context)
			{
				this.context = context;
				this.oldCounter = ProfilerInterceptor.ReentrancyCounter;

				ProfilerInterceptor.ReentrancyCounter = 0;
			}
コード例 #2
0
            public InRecordingContext(RepositorySharedContext context)
                : base(context)
            {
                this.oldCounter = ProfilerInterceptor.ReentrancyCounter;

                ProfilerInterceptor.ReentrancyCounter = 0;
            }
コード例 #3
0
            public RecordingSession(RepositorySharedContext context)
            {
                this.context    = context;
                this.oldCounter = ProfilerInterceptor.ReentrancyCounter;

                ProfilerInterceptor.ReentrancyCounter = 0;
            }
コード例 #4
0
			public InCreateContext(RepositorySharedContext context)
			{
				this.context = context;
				Debug.Assert(!context.InCreate);
				context.InCreate = true;
			}
コード例 #5
0
			public InArrangeContext(RepositorySharedContext context)
			{
				this.context = context;
				Debug.Assert(!context.InArrange);
				context.InArrange = true;
			}
コード例 #6
0
 public InAssertSetContext(RepositorySharedContext context)
     : base(context)
 {
     Debug.Assert(!this.Context.InAssertSet);
     context.InAssertSet = true;
 }
コード例 #7
0
 public InArrangeArgMatchingContext(RepositorySharedContext context)
     : base(context)
 {
     Debug.Assert(!this.Context.InArrangeArgMatching);
     context.InArrangeArgMatching = true;
 }
コード例 #8
0
 public InArrangeContext(RepositorySharedContext context)
     : base(context)
 {
     Debug.Assert(!this.Context.InArrange);
     context.InArrange = true;
 }
コード例 #9
0
 public ContextSession(RepositorySharedContext context)
 {
     this.context = context;
 }
コード例 #10
0
 public InCreateContext(RepositorySharedContext context)
 {
     this.context = context;
     Debug.Assert(!context.InCreate);
     context.InCreate = true;
 }
コード例 #11
0
 public InArrangeContext(RepositorySharedContext context)
 {
     this.context = context;
     Debug.Assert(!context.InArrange);
     context.InArrange = true;
 }
コード例 #12
0
 public InRunClassConstructorContext(RepositorySharedContext context)
     : base(context)
 {
     context.RunClassConstructorCount++;
 }