예제 #1
0
        public override INodeContent GetContent()
        {
            if (content == null)
            {
                lock (this.SyncLock)
                {
                    if (content == null)
                    {
                        var localContent = new ShadowNodeContent(this, this.Wrappee, tempFileSystem);

                        System.Threading.Thread.MemoryBarrier();

                        content = localContent;
                    }
                }
            }

            return(content);
        }
		public override INodeContent GetContent()
		{
			if (content == null)
			{
				lock (this.SyncLock)
				{
					if (content == null)
					{
						var localContent = new ShadowNodeContent(this, this.Wrappee, tempFileSystem);

						System.Threading.Thread.MemoryBarrier();

						content = localContent;
					}
				}
			}

			return content;
		}