Beispiel #1
0
 public EventType GetTypeByName(string typeName)
 {
     var local = locals.GetModuleTypes(typeName);
     var path = ResolvePath(typeName);
     var preconfigured = ResolvePreconfigured(typeName);
     return CompileTimeResolverUtil.ValidateAmbiguous(
         local,
         path,
         preconfigured,
         PathRegistryObjectType.EVENTTYPE,
         typeName);
 }
        public VariableMetaData Resolve(string variableName)
        {
            var local = _compileTimeRegistry.GetVariable(variableName);
            var path = ResolvePath(variableName);
            var preconfigured = ResolvePreconfigured(variableName);

            return CompileTimeResolverUtil.ValidateAmbiguous(
                local,
                path,
                preconfigured,
                PathRegistryObjectType.VARIABLE,
                variableName);
        }