Esempio n. 1
0
 public void AddUnimplementedMembers(IIdeSource source, TypeBuilder ty,
                                     IEnumerable <IGrouping <FixedType.Class, IMember> > unimplementedMembers)
 {
     using (var form = new ImplementMembersForm((NemerleSource)source, ty, unimplementedMembers))
     {
         form.ShowDialog();
     }
 }
Esempio n. 2
0
        public void AddOverrideMembers(IIdeSource source, TypeBuilder ty, IEnumerable <IMember> notOverriden)
        {
            var ty2           = ty.GetMemType();
            var notOverriden2 = notOverriden.Select(m => new { ty2, m }).GroupBy(x => x.ty2, x => x.m);

            using (var form = new ImplementMembersForm((NemerleSource)source, ty, notOverriden2))
            {
                form.ShowDialog();
            }
        }