Example #1
0
 public IMemberAccess Get(IMember parameter)
 =>
 new ReadOnlyCollectionMemberAccess(new MemberAccess(_allowed.Get(parameter.Metadata),
                                                     _getter.Get(parameter.Metadata),
                                                     _add.Get(parameter.MemberType)));
Example #2
0
 protected override IMemberAccess Create(IMember parameter)
 => new MemberAccess(_emit.Get(parameter.Metadata), _getter.Get(parameter.Metadata),
                     _setter.Get(parameter.Metadata));
Example #3
0
 public IMemberAccess Get(IMember parameter)
 => new MemberAccess(_emit.Get(parameter.Metadata), _getter.Get(parameter.Metadata), _setter.Get(parameter.Metadata));
Example #4
0
 protected override object Create(MemberInfo parameter) => _getter.Get(parameter).Invoke(_instance);