We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement generating a FileInfo property on generated types (the ones that map to global elements or complex types or have static Load() methods).
FileInfo
static Load()
Also add a new public static Load method; one that accepts a FileInfo parameter, which is also saved as an instance property on the generated type.
Example:
public partial class element { public FileInfo FileInfo { get; set; } // ... public static element Load(FileInfo fileInfo) { var element = XTypedServices.Load<element>(fileInfo.FullName); element.FileInfo = fileInfo; return element; } }
The text was updated successfully, but these errors were encountered:
mamift
No branches or pull requests
Implement generating a
FileInfo
property on generated types (the ones that map to global elements or complex types or havestatic Load()
methods).Also add a new public static Load method; one that accepts a
FileInfo
parameter, which is also saved as an instance property on the generated type.Example:
The text was updated successfully, but these errors were encountered: