88 |
// Uri to work with, I belive it's safe to assume |
// Uri to work with, I belive it's safe to assume |
89 |
// we're looking for a file on the local filesystem. |
// we're looking for a file on the local filesystem. |
90 |
// - "ptah" |
// - "ptah" |
91 |
if (File.Exists(relativeUri)) |
return new Uri(Path.Combine( |
92 |
{ |
Directory.GetCurrentDirectory(), |
93 |
return new Uri(Path.Combine( |
relativeUri |
94 |
Directory.GetCurrentDirectory(), |
)); |
|
relativeUri |
|
|
)); |
|
|
} |
|
|
else |
|
|
{ |
|
|
return new Uri(relativeUri); |
|
|
} |
|
95 |
} |
} |
96 |
else if(relativeUri == null) |
else if(relativeUri == null) |
97 |
{ |
{ |