Load() приватный Метод

private Load ( [ path ) : SignedFeed
path [
Результат SignedFeed
Пример #1
0
 /// <summary>
 /// Loads a feed from an XML file (feed).
 /// </summary>
 /// <param name="path">The file to load from.</param>
 /// <returns>A <see cref="FeedEditing"/> containing the loaded feed.</returns>
 /// <exception cref="IOException">A problem occurred while reading the file.</exception>
 /// <exception cref="UnauthorizedAccessException">Read access to the file is not permitted.</exception>
 /// <exception cref="InvalidDataException">A problem occurred while deserializing the XML data.</exception>
 public new static FeedEditing Load(string path)
 => new FeedEditing(SignedFeed.Load(path))
 {
     Path = path
 };
Пример #2
0
 public static FeedEditing Load([NotNull] string path)
 {
     return(new FeedEditing(SignedFeed.Load(path), path));
 }