Beispiel #1
0
		protected virtual bool CheckEnabled(IAspectVersionContext context)
		{
			if (!IsEnabledOn(context))
			{
				IncrementOffset((IReadBuffer)context);
				return false;
			}
			return true;
		}
Beispiel #2
0
 protected virtual bool CheckEnabled(IAspectVersionContext context)
 {
     if (!IsEnabledOn(context))
     {
         IncrementOffset((IReadBuffer)context);
         return(false);
     }
     return(true);
 }
 private bool CanReadFromSlot(IAspectVersionContext context)
 {
     if (!IsEnabledOn(context))
     {
         return(false);
     }
     if (Alive())
     {
         return(true);
     }
     return(_state != FieldMetadataState.NotLoaded);
 }
Beispiel #4
0
        private bool CheckAlive(IAspectVersionContext context)
        {
            if (!CheckEnabled(context))
            {
                return(false);
            }
            bool alive = Alive();

            if (!alive)
            {
                IncrementOffset((IReadBuffer)context);
            }
            return(alive);
        }
Beispiel #5
0
		public bool IsEnabledOn(IAspectVersionContext context)
		{
			return _disabledFromAspectCountVersion > context.DeclaredAspectCount();
		}
 public bool IsEnabledOn(IAspectVersionContext context)
 {
     return(_disabledFromAspectCountVersion > context.DeclaredAspectCount());
 }
		private bool CanReadFromSlot(IAspectVersionContext context)
		{
			if (!IsEnabledOn(context))
			{
				return false;
			}
			if (Alive())
			{
				return true;
			}
			return _state != FieldMetadataState.NotLoaded;
		}
		private bool CheckAlive(IAspectVersionContext context)
		{
			if (!CheckEnabled(context))
			{
				return false;
			}
			bool alive = Alive();
			if (!alive)
			{
				IncrementOffset((IReadBuffer)context);
			}
			return alive;
		}