public NonEmptyBase ToImmutable() { return this.immutable = this.immutable.With( ImmutableObjectGraph.Optional.For(this.OneField)); }
internal Builder(NonEmptyBase immutable) { this.immutable = immutable; this.oneField = immutable.OneField; }
public NonEmptyBase ToImmutable() { return(this.immutable = this.immutable.With( ImmutableObjectGraph.Optional.For(this.OneField))); }
public NonEmptyBase ToNonEmptyBase() { return(NonEmptyBase.CreateWithIdentity( oneField: Optional.For(this.OneField), identity: this.Identity)); }