public string Index => mIndexProxy.Value;             // JSON field: 'index'

            /// <summary>
            /// Resets the item for re-use.
            /// </summary>
            public void Reset()
            {
                mTypeProxy      = new StringPropertyProxy(mPool);
                mReasonProxy    = new StringPropertyProxy(mPool);
                mIndexUuidProxy = new StringPropertyProxy(mPool);
                mShardsProxy    = new StringPropertyProxy(mPool);
                mIndexProxy     = new StringPropertyProxy(mPool);
            }
Example #2
0
            public Item_Index_Error Error;             // JSON field: 'error'

            /// <summary>
            /// Resets the item for re-use.
            /// </summary>
            public void Reset()
            {
                mIndexProxy   = new StringPropertyProxy(mPool);
                mTypeProxy    = new StringPropertyProxy(mPool);
                mIdProxy      = new StringPropertyProxy(mPool);
                mVersionProxy = default;
                mResultProxy  = new StringPropertyProxy(mPool);
                mPool.Return(Shards);
                Shards = null;
                mSequenceNumberProxy = default;
                mPrimaryTermProxy    = default;
                mStatusProxy         = default;
                mPool.Return(Error);
                Error = null;
            }
 /// <summary>Create a instance, wrapping the specified proxy</summary>
 public StringPropertyNHibernateImpl(Func<IFrozenContext> lazyCtx, StringPropertyProxy proxy)
     : base(lazyCtx, proxy) // pass proxy to parent
 {
     this.Proxy = proxy;
 }
Example #4
0
 /// <summary>Create a instance, wrapping the specified proxy</summary>
 public StringPropertyNHibernateImpl(Func <IFrozenContext> lazyCtx, StringPropertyProxy proxy)
     : base(lazyCtx, proxy) // pass proxy to parent
 {
     this.Proxy = proxy;
 }