Esempio n. 1
0
        public override void Synchronize(SyncronizationContext sc, string remainingText)
        {
            if (Members == null)
            {
                Members = sc.GetMembers(fieldOrPropertyChain, ParentType());

                if (Members != null)
                {
                    fieldOrPropertyChain = Members.ToString(a => a.Name, ".");
                }
            }

            Declare(sc.Variables);
        }
Esempio n. 2
0
        public override void Synchronize(SyncronizationContext sc, string remainingText)
        {
            globalKey = sc.Replacements.SelectInteractive(globalKey, GlobalVariables.Keys, "Globals", sc.StringDistance) ?? globalKey;

            if (remainingFieldsOrProperties.HasText() && Members == null)
            {
                Members = sc.GetMembers(remainingFieldsOrProperties, GlobalVariables[globalKey].Type);

                if (Members != null)
                {
                    remainingFieldsOrProperties = Members.ToString(a => a.Name, ".");
                }
            }

            Declare(sc.Variables);
        }
Esempio n. 3
0
 public override void Synchronize(SyncronizationContext sc, string remainingText)
 {
 }
Esempio n. 4
0
 public abstract void Synchronize(SyncronizationContext sc, string remainingText);
Esempio n. 5
0
        public override void Synchronize(SyncronizationContext sc, string remainingText)
        {
            sc.SynchronizeToken(ParsedToken, remainingText);

            Declare(sc.Variables);
        }