예제 #1
0
        public override object GetValue(MemberInfo member, object instance)
        {
            var name = _name ?? member.Name;

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