Ejemplo n.º 1
0
 internal static object GetAddIndex(SubRecordAddIndexContext context)
 {
     return(GetAddIndexOrdered(context.record, "RNAM", Names.InitialSubRecordOrder));
 }
Ejemplo n.º 2
0
 internal static object GetAddIndex(SubRecordAddIndexContext context)
 {
     throw new InvalidOperationException(GetStrictMessage("CNDT"));
 }
Ejemplo n.º 3
0
 internal static object GetAddIndex(SubRecordAddIndexContext context)
 {
     return(GetAddIndexOrdered(context.record, "DELE", Names.SubRecordOrder));
 }
Ejemplo n.º 4
0
 internal static object GetAddIndex(SubRecordAddIndexContext context)
 {
     return(Names.GetAddIndexCellReference(context));
 }
Ejemplo n.º 5
0
 internal static object GetAddIndex(SubRecordAddIndexContext context)
 {
     return(Names.GetAddIndexForAIData(context));
 }
Ejemplo n.º 6
0
        internal static object GetAddIndex(SubRecordAddIndexContext context)
        {
            var index = GetAddIndexStrict(context.record, Names.BodyPartDataOrder);

            return(index == -1 ? GetAddIndexFirst(context.record, Names.InitialSubRecordOrder) : index);
        }
Ejemplo n.º 7
0
        internal static int GetAddIndexForTravelDestination(SubRecordAddIndexContext context)
        {
            var index = GetAddIndexStrict(context.record, TravelDestinationOrder);

            return(index == -1 ? GetAddIndexFirst(context.record, InitialSubRecordOrder) : index + 1);
        }
Ejemplo n.º 8
0
        internal static object GetAddIndex(SubRecordAddIndexContext context)
        {
            var index = context.record.GetLastIndex("DATA");

            return(index == -1 ? context.record.GetLastIndex("HEDR") + 1 : index + 1);
        }
Ejemplo n.º 9
0
 internal static object GetAddIndex(SubRecordAddIndexContext context)
 {
     return(Names.GetAddIndexAmbiguous(context, "NAME"));
 }
Ejemplo n.º 10
0
 internal static object GetAddIndex(SubRecordAddIndexContext context)
 {
     throw new InvalidOperationException("BNAM");
 }