protected override void Load(ContainerBuilder builder) { builder.RegisterBuildCallback(container => { var factory = new GenericFactory(container); var context = new PropertyAccessContext(); SeedAsync(factory, context).Wait(); }); }
public override object AssignedValue(PropertyAccessContext context) => context.Node.Ancestors().FirstOrDefault(ancestor => ancestor.IsKind(SyntaxKind.SimpleAssignmentStatement)) is AssignmentStatementSyntax assignment
protected abstract TExpressionSyntax GetSetValue(PropertyAccessContext context);
public abstract object AssignedValue(PropertyAccessContext context);