public override object GetValue(MemberInfo member, object instance)
        {
            var name = _name ?? member.Name;

            return(ToolResolver.TryGetEnvironmentTool(name) ??
                   ToolResolver.GetPathTool(name));
        }
Esempio n. 2
0
 public override object GetValue(MemberInfo member, object instance)
 {
     return(ToolResolver.TryGetEnvironmentTool(member.Name) ??
            ToolResolver.GetPackageTool(_packageId, _packageExecutable, Version, Framework));
 }
Esempio n. 3
0
 public override object GetValue(MemberInfo member, object instance)
 {
     return(ToolResolver.GetLocalTool(_rootDirectoryRelativePath));
 }
Esempio n. 4
0
 public override object GetValue(MemberInfo member, object instance)
 {
     return(ToolResolver.GetLocalTool(_absoluteOrRelativePath));
 }