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