예제 #1
0
        public AstLookupStage Update(AstLookupStageMatch match)
        {
            if (match == _match)
            {
                return(this);
            }

            return(new AstLookupStage(_from, match, _as));
        }
예제 #2
0
 public static AstStage Lookup(string from, AstLookupStageMatch match, string @as)
 {
     return(new AstLookupStage(from, match, @as));
 }
예제 #3
0
 public AstLookupStage(string from, AstLookupStageMatch match, string @as)
 {
     _from  = Ensure.IsNotNull(from, nameof(from));
     _match = Ensure.IsNotNull(match, nameof(match));
     _as    = Ensure.IsNotNull(@as, nameof(@as));
 }