Questions tagged as 'partial'

1
answer

Partial for separating events and methods

I have seen in a system a separation of the methods in a partial and the events in another in UserControl and Window as the example below: "Pessoa.xaml.cs" public partial class Pessoa: UserControl { //Construtor //...
asked by 20.04.2016 / 15:58
3
answers

Call a method automatically via a class class in .NET

I created a partial class for the model users where I implemented some custom functions, such as a function that takes the first and last name assigned and generates a handle , see example below: namespace E_Learning.Mode...
asked by 04.05.2016 / 17:13
3
answers

How to implement custom functionality in a model in .NET?

I needed to implement some functionality in the users model but as you can see right at the beginning this class is automatically generated by Entity, so whenever I update or recreate the model the custom functionality will be lost. Ex...
asked by 04.05.2016 / 16:04
2
answers

how to work with PartialView

I have the People Registry, and I have the Address Book, which are in two separate classes, because the goal is that the user can have 2 or more addresses, such as delivery, and billing. So I wanted to know how to use PartialView. in the case I...
asked by 17.11.2016 / 12:07
1
answer

Create partial method in C #

How can I create a method similar to a class that is partial? For example: It has method $InitializeComponent() that is of the class of a form. I want to increment this function, without touching the original (create a proxy )....
asked by 17.12.2014 / 15:24