コード例 #1
0
 public CustomersController(ICustomerManager customerManager, IContactManager contactManager, IBuildingManager buildingManager,
                            IRequestManager requestManager,
                            IInterventionManager interventionManager, IOfferManager offerManager,
                            IOrderManager orderManager, IDepositInvoiceManager depositInvoiceManager, IInvoiceManager invoiceManager,
                            ITagManager tagManager, ICountryManager countryManager, ILanguageManager languageManager,
                            IHonorificPrefixManager honorificPrefixManager, IIncludedCollector includedCollector,
                            IMapper mapper, IJsonApiBuilder jsonApiBuilder)
 {
     _customerManager        = customerManager;
     _contactManager         = contactManager;
     _buildingManager        = buildingManager;
     _requestManager         = requestManager;
     _interventionManager    = interventionManager;
     _offerManager           = offerManager;
     _orderManager           = orderManager;
     _depositInvoiceManager  = depositInvoiceManager;
     _invoiceManager         = invoiceManager;
     _tagManager             = tagManager;
     _countryManager         = countryManager;
     _languageManager        = languageManager;
     _honorificPrefixManager = honorificPrefixManager;
     _includedCollector      = includedCollector;
     _mapper         = mapper;
     _jsonApiBuilder = jsonApiBuilder;
 }
コード例 #2
0
 public LogonPageViewModel(IServiceMapper serviceMapper,
                           IAppUser appUser,
                           INavigationService navigationService,
                           IContactManager userManager,
                           INavigationStackService navigationStackService) : base(navigationService)
 {
 }
コード例 #3
0
 public AccountRegistrationPageViewModel(INavigationService navigationService,
                                         IContactManager contactManager,
                                         AccountRegistrationPageValidator validator) : base(navigationService)
 {
     _keyValueCacheUtility = AppUnityContainer.InstanceDependencyService.Get <IKeyValueCacheUtility>();
     _contactManager       = contactManager;
     _validator            = validator;
 }
コード例 #4
0
 public ChatCoreContext(IContactManager <FriendRequest, User, string> contactManager,
                        IChatManager <Chat, string> chatManager,
                        IMessageManager <Message, string> messageManager,
                        IAccountManager <User, string> accountManager,
                        IIdentityProvider <string> currenUserProvider
                        ) : base(contactManager, chatManager, messageManager, accountManager, currenUserProvider)
 {
 }
コード例 #5
0
 /// <summary>
 /// Initializes this instance with all required parameters
 /// </summary>
 /// <param name="contactManager">
 /// The contact manager. 
 /// </param>
 public void Initialize(IContactManager contactManager)
 {
     this.contactManager = contactManager;
     if (contactManager == null)
     {
         throw new ArgumentException("contactManager");
     }
 }
コード例 #6
0
 public ContactService(
     IUnitOfWork unitOfWork,
     IContactManager contactManager,
     IContactRepository contactRepository)
 {
     _unitOfWork        = unitOfWork;
     _contactManager    = contactManager;
     _contactRepository = contactRepository;
 }
コード例 #7
0
        static void Main(string[] args)
        {
            string      baseAddress = "http://" + Environment.MachineName + ":8000/Service";
            ServiceHost host        = new ServiceHost(typeof(ContactManager), new Uri(baseAddress));

            host.AddServiceEndpoint(typeof(IContactManager), new BasicHttpBinding(), "").Behaviors.Add(new ValidatingBehavior());
            host.Open();
            Console.WriteLine("Host opened");

            ChannelFactory <IContactManager> factory = new ChannelFactory <IContactManager>(new BasicHttpBinding(), new EndpointAddress(baseAddress));
            IContactManager proxy = factory.CreateChannel();

            Console.WriteLine("Test 1: adding a successful contract");
            string id = proxy.AddContact(new Contact {
                Name = "John Doe", Age = 30, Email = "*****@*****.**"
            });

            Console.WriteLine("  ==> Contact id: {0}", id);
            Console.WriteLine();

            Console.WriteLine("Test 2: missing name");
            ExpectFaultOfString(delegate { proxy.AddContact(new Contact {
                    Name = null, Age = 30, Email = "*****@*****.**"
                }); });
            Console.WriteLine();

            Console.WriteLine("Test 3: empty name");
            ExpectFaultOfString(delegate { proxy.AddContact(new Contact {
                    Name = "", Age = 30, Email = "*****@*****.**"
                }); });
            Console.WriteLine();

            Console.WriteLine("Test 4: negative age");
            ExpectFaultOfString(delegate { proxy.AddContact(new Contact {
                    Name = "John Doe", Age = -1, Email = "*****@*****.**"
                }); });
            Console.WriteLine();

            Console.WriteLine("Test 5: very high age");
            ExpectFaultOfString(delegate { proxy.AddContact(new Contact {
                    Name = "John Doe", Age = 400, Email = "*****@*****.**"
                }); });
            Console.WriteLine();

            Console.WriteLine("Test 6: missing e-mail");
            ExpectFaultOfString(delegate { proxy.AddContact(new Contact {
                    Name = "John Doe", Age = 30, Email = null
                }); });
            Console.WriteLine();

            Console.WriteLine("Test 7: invalid e-mail");
            ExpectFaultOfString(delegate { proxy.AddContact(new Contact {
                    Name = "John Doe", Age = 30, Email = "abcdef"
                }); });
            Console.WriteLine();
        }
コード例 #8
0
        public static void Merge(IContactManager m1, IContactManager m2,
                                 IEnumerable <IContact> l1, IEnumerable <IContact> l2)
        {
            var l2Index = new ContactIndexer(l2);

            foreach (IContact c in l1)
            {
                bool foundMerge = false;
                foreach (IContact oc in l2Index.GetSameContactsAs(c))
                {
                    if (!c.IsSameAs(oc))
                    {
                        continue;
                    }

                    foundMerge = true;
                    if (c.MergeFrom(oc))
                    {
                        //System.Windows.Forms.MessageBox.Show("Updating Google information for " + c.ToString());
                        c.Update();
                    }
                    if (oc.MergeFrom(c))
                    {
                        //System.Windows.Forms.MessageBox.Show("Updating Outlook information for " + c.ToString());
                        oc.Update();
                    }
                }
                if (!foundMerge)
                {
                    //System.Windows.Forms.MessageBox.Show("Copy information from Google to Outlook for " + c.ToString());
                    IContact newContact = m2.NewContact(c);
                    newContact.Update();
                }
            }

            var l1Index = new ContactIndexer(l1);

            foreach (IContact oc in l2)
            {
                bool foundMerge = false;
                foreach (IContact c in l1Index.GetSameContactsAs(oc))
                {
                    if (!c.IsSameAs(oc))
                    {
                        continue;
                    }
                    foundMerge = true;
                }
                if (!foundMerge)
                {
                    //System.Windows.Forms.MessageBox.Show("Copy information from Outlook to Google for " + oc.ToString());
                    IContact newContact = m1.NewContact(oc);
                    newContact.Update();
                }
            }
        }
コード例 #9
0
ファイル: ContactController.cs プロジェクト: mknizewski/SAP
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _contactManager.Dispose();
                _contactManager = null;

                base.Dispose(disposing);
            }
        }
コード例 #10
0
ファイル: HomeController.cs プロジェクト: mknizewski/SAP
        protected override void Dispose(bool disposing)
        {
            _contactManager.Dispose();
            _contactManager = null;

            _newsManager.Dispose();
            _newsManager = null;

            base.Dispose(disposing);
        }
コード例 #11
0
ファイル: ContactBOTests.cs プロジェクト: mo5h/omeo
        public void SetUp()
        {
            _core    = new TestCore();
            _storage = _core.ResourceStore;
            _storage.PropTypes.Register("Subject", PropDataType.String);
            _storage.ResourceTypes.Register("Email", "Subject");

            _contactManager = _core.ContactManager;
            _storage.PropTypes.Register("LinkedSetValue", PropDataType.Link, PropTypeFlags.Internal);
        }
コード例 #12
0
 public QueueController(INotificationManager notificationManager, IRequisitionManager requisitionManager, IRequisitionStatusManager requisitionStatusManager, IEmployeeManager employeeManager, IVehicleManager vehicleManager, IVehicleTypeManager vehicleTypeManager, IContactManager contactManager)
 {
     this._notificationManager      = notificationManager;
     this._requisitionManager       = requisitionManager;
     this._requisitionStatusManager = requisitionStatusManager;
     this._employeeManager          = employeeManager;
     this._vehicleManager           = vehicleManager;
     this._vehicleTypeManager       = vehicleTypeManager;
     this._contactManager           = contactManager;
 }
コード例 #13
0
 public RequestSigninVerificationCodePageViewModel(IServiceMapper serviceMapper,
                                                   IAppUser appUser,
                                                   INavigationStackService navigationStackService,
                                                   INavigationService navigationService,
                                                   IContactManager contactManager) : base(serviceMapper, appUser)
 {
     _navigationService      = navigationService;
     _navigationStackService = navigationStackService;
     _contactManager         = contactManager;
 }
コード例 #14
0
        public SetAnonymousInfoProcessor(IContactManager contactManager, IVisitorContext visitorContext, IContactMapper contactMapper)
        {
            Assert.ArgumentNotNull(contactManager, nameof(contactManager));
            Assert.ArgumentNotNull(visitorContext, nameof(visitorContext));
            Assert.ArgumentNotNull(contactMapper, nameof(contactMapper));

            this.contactManager = contactManager;
            this.visitorContext = visitorContext;
            this.contactMapper  = contactMapper;
        }
コード例 #15
0
 public ClientController(
     IClientManager clientManager,
     IContactManager contactManager,
     IProjectManager projectManager
     )
 {
     _clientManager  = clientManager;
     _contactManager = contactManager;
     _projectManager = projectManager;
 }
コード例 #16
0
 public LogonPageViewModel(IServiceMapper serviceMapper,
                           IAppUser appUser,
                           INavigationService navigationService,
                           IContactManager userManager,
                           INavigationStackService navigationStackService) : base(serviceMapper, appUser)
 {
     _navigationService      = navigationService;
     _navigationStackService = navigationStackService;
     _userManager            = userManager;
 }
 public ConfirmVerificationCodePageViewModel(IServiceMapper serviceMapper,
                                             IAppUser appUser,
                                             INavigationService navigationService,
                                             INavigationStackService navigationStackService,
                                             IContactManager userManager) : base(serviceMapper, appUser)
 {
     _navigationService      = navigationService;
     _navigationStackService = navigationStackService;
     _userManager            = userManager;
     _keyValueCacheUtility   = AppUnityContainer.Instance.Resolve <IDependencyService>().Get <IKeyValueCacheUtility>();
 }
コード例 #18
0
        private IEnumerable <Contact> CreateModel()
        {
            IContactManager manager = Locator.Get <IContactManager>();

            if (manager == null)
            {
                return(Enumerable.Empty <Contact>());
            }

            return(manager.GetContacts());
        }
コード例 #19
0
 public NativeFacebookPageViewModel(IServiceMapper serviceMapper,
                                    IAppUser appUser,
                                    IContactManager userManager,
                                    INavigationService navigationService,
                                    INavigationStackService navigationStackService) : base(serviceMapper, appUser)
 {
     _keyValueCacheUtility   = AppUnityContainer.InstanceDependencyService.Get <IKeyValueCacheUtility>();
     _navigationService      = navigationService;
     _navigationStackService = navigationStackService;
     _userManager            = userManager;
 }
コード例 #20
0
 public static IContactManager GetContactManager()
 {
     if (_directoryContext != null)
     {
         if (_contactManager == null)
         {
             _contactManager = new ContactManager(new ContactRepository(_directoryContext));
         }
         return(_contactManager);
     }
     throw new System.Exception("Database context is not initialized");
 }
コード例 #21
0
 public TelephonesController(ITelephoneManager telephoneManager, ICountryManager countryManager, ITelephoneTypeManager telephoneTypeManager,
                             ICustomerManager customerManager, IContactManager contactManager, IBuildingManager buildingManager,
                             IMapper mapper, IJsonApiBuilder jsonApiBuilder)
 {
     _telephoneManager     = telephoneManager;
     _countryManager       = countryManager;
     _telephoneTypeManager = telephoneTypeManager;
     _customerManager      = customerManager;
     _contactManager       = contactManager;
     _buildingManager      = buildingManager;
     _mapper         = mapper;
     _jsonApiBuilder = jsonApiBuilder;
 }
コード例 #22
0
 public ContactsController(IContactManager contactManager, ITelephoneManager telephoneManager, ICountryManager countryManager,
                           ILanguageManager languageManager, IHonorificPrefixManager honorificPrefixManager,
                           IIncludedCollector includedCollector, IMapper mapper, IJsonApiBuilder jsonApiBuilder)
 {
     _contactManager         = contactManager;
     _telephoneManager       = telephoneManager;
     _countryManager         = countryManager;
     _languageManager        = languageManager;
     _honorificPrefixManager = honorificPrefixManager;
     _includedCollector      = includedCollector;
     _mapper         = mapper;
     _jsonApiBuilder = jsonApiBuilder;
 }
コード例 #23
0
        public ContactControllerTest()
        {
            _mockContactService = new Mock <IContactService>();

            _ContactManager = new ContactManager(_mockContactService.Object);

            controller = new ContactController(_ContactManager);

            var contacts = GetContact();
            var contact  = GetFirstContact();

            _mockContactService.Setup(m => m.GetContact()).Returns((contacts));
        }
コード例 #24
0
ファイル: MainViewModel.cs プロジェクト: HYMPYT/C-Sharp
        public MainViewModel(IContactManager contactManager, IPhoneCodeManager phoneCodeManager, IViewModelFactory viewModelFactory)
        {
            this.contactManager   = contactManager;
            this.phoneCodeManager = phoneCodeManager;
            this.viewModelFactory = viewModelFactory;

            cancelCommand = new DelegateCommand(Cancel);
            loadedCommand = new DelegateCommand(Load);
            saveCommand   = new DelegateCommand(Save, () => CanSave);

            contactManager.ContactAdded   += ContactManager_ContactAdded;
            contactManager.ContactDeleted += ContactManager_ContactDeleted;
            PropertyChanged += MainViewModel_PropertyChanged;
        }
コード例 #25
0
        public ContactRootMutation(
            GraphQLUserContextAccessor accessor,
            IContactManager contacts,
            INoteManager notes,
            IUnitOfWork unitOfWork
            )
        {
            this._context    = accessor.Context;
            this._contacts   = contacts;
            this._notes      = notes;
            this._unitOfWork = unitOfWork;

            this.AddNoteMutations();
        }
コード例 #26
0
        public static void RegisterTypes(OutlookPlugin ownerPlugin, IContactManager contactManager)
        {
            string exts = Core.SettingStore.ReadString("FilePlugin", "EmailMessageFileExts");

            exts = (exts.Length == 0) ? ".msg" : exts + ",.msg";
            string[] extsArray = exts.Split(',');
            for (int i = 0; i < extsArray.Length; ++i)
            {
                extsArray[i] = extsArray[i].Trim();
            }
            Core.FileResourceManager.RegisterFileResourceType(
                STR.EmailFile, "Email File", STR.Name, 0, ownerPlugin, extsArray);
            RegisterMailTypes(ownerPlugin, contactManager);
        }
コード例 #27
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SingleContactManagerForm"/> class.
        /// </summary>
        /// <param name="logger">
        /// The logger. 
        /// </param>
        /// <param name="contactManager">
        /// The contact manager. 
        /// </param>
        public SingleContactManagerForm(ILogger logger, IContactManager contactManager)
            : this()
        {
            this.logger = logger;
            if (logger == null)
            {
                throw new ArgumentNullException("logger");
            }

            this.contactManager = contactManager;
            if (contactManager == null)
            {
                throw new ArgumentException("contactManager");
            }
        }
コード例 #28
0
 public ContactsController(IContactManager contactManager, ICountryManager countryManager,
                           ILanguageManager languageManager, IHonorificPrefixManager honorificPrefixManager,
                           IRequestManager requestManager, IInvoiceManager invoiceManager,
                           IIncludedCollector includedCollector, IMapper mapper, IJsonApiBuilder jsonApiBuilder)
 {
     _contactManager         = contactManager;
     _countryManager         = countryManager;
     _languageManager        = languageManager;
     _honorificPrefixManager = honorificPrefixManager;
     _requestManager         = requestManager;
     _invoiceManager         = invoiceManager;
     _includedCollector      = includedCollector;
     _mapper         = mapper;
     _jsonApiBuilder = jsonApiBuilder;
 }
コード例 #29
0
ファイル: ContactMerger.cs プロジェクト: KrishPS/GContactSync
        public static void Merge(IContactManager m1, IContactManager m2,
            IEnumerable<IContact> l1, IEnumerable<IContact> l2)
        {
            var l2Index = new ContactIndexer(l2);
            foreach (IContact c in l1)
            {
                bool foundMerge = false;
                foreach (IContact oc in l2Index.GetSameContactsAs(c))
                {
                    if (!c.IsSameAs(oc)) continue;

                    foundMerge = true;
                    if (c.MergeFrom(oc))
                    {
                        //System.Windows.Forms.MessageBox.Show("Updating Google information for " + c.ToString());
                        c.Update();
                    }
                    if (oc.MergeFrom(c))
                    {
                        //System.Windows.Forms.MessageBox.Show("Updating Outlook information for " + c.ToString());
                        oc.Update();
                    }
                }
                if (!foundMerge)
                {
                    //System.Windows.Forms.MessageBox.Show("Copy information from Google to Outlook for " + c.ToString());
                    IContact newContact = m2.NewContact(c);
                    newContact.Update();
                }
            }

            var l1Index = new ContactIndexer(l1);
            foreach (IContact oc in l2)
            {
                bool foundMerge = false;
                foreach (IContact c in l1Index.GetSameContactsAs(oc))
                {
                    if (!c.IsSameAs(oc)) continue;
                    foundMerge = true;
                }
                if (!foundMerge)
                {
                    //System.Windows.Forms.MessageBox.Show("Copy information from Outlook to Google for " + oc.ToString());
                    IContact newContact = m1.NewContact(oc);
                    newContact.Update();
                }
            }
        }
コード例 #30
0
 public DepositInvoicesController(IDepositInvoiceManager depositInvoiceManager, ICustomerManager customerManager,
                                  IContactManager contactManager, IBuildingManager buildingManager, IOrderManager orderManager,
                                  IVatRateManager vatRateManager, IDocumentGenerationManager documentGenerationManager,
                                  IIncludedCollector includedCollector, IMapper mapper, IJsonApiBuilder jsonApiBuilder)
 {
     _depositInvoiceManager     = depositInvoiceManager;
     _customerManager           = customerManager;
     _contactManager            = contactManager;
     _buildingManager           = buildingManager;
     _orderManager              = orderManager;
     _vatRateManager            = vatRateManager;
     _documentGenerationManager = documentGenerationManager;
     _includedCollector         = includedCollector;
     _mapper         = mapper;
     _jsonApiBuilder = jsonApiBuilder;
 }
コード例 #31
0
 public QueueController(INotificationManager notificationManager, IRequisitionManager requisitionManager, IRequisitionStatusManager requisitionStatusManager,
                        IEmployeeManager employeeManager, IVehicleManager vehicleManager, IVehicleTypeManager vehicleTypeManager, IContactManager contactManager,
                        IOrganizationManager organizationManager, IDepartmentManager departmentManager, IDesignationManager designationManager, IEmployeeTypeManager employeeTypeManager)
 {
     this._notificationManager      = notificationManager;
     this._requisitionManager       = requisitionManager;
     this._requisitionStatusManager = requisitionStatusManager;
     this._employeeManager          = employeeManager;
     this._vehicleManager           = vehicleManager;
     this._vehicleTypeManager       = vehicleTypeManager;
     this._contactManager           = contactManager;
     this._organizationManager      = organizationManager;
     this._departmentManager        = departmentManager;
     this._designationManager       = designationManager;
     this._employeeTypeManager      = employeeTypeManager;
 }
コード例 #32
0
 public RequestsController(IRequestManager requestManager, IOfferManager offerManager, IWayOfEntryManager wayOfEntryManager,
                           ICustomerManager customerManager, IContactManager contactManager, IBuildingManager buildingManager,
                           ICalendarEventManager calendarEventManager, IDocumentGenerationManager documentGenerationManager,
                           IIncludedCollector includedCollector, IMapper mapper, IJsonApiBuilder jsonApiBuilder)
 {
     _requestManager            = requestManager;
     _offerManager              = offerManager;
     _wayOfEntryManager         = wayOfEntryManager;
     _customerManager           = customerManager;
     _contactManager            = contactManager;
     _buildingManager           = buildingManager;
     _calendarEventManager      = calendarEventManager;
     _documentGenerationManager = documentGenerationManager;
     _includedCollector         = includedCollector;
     _mapper         = mapper;
     _jsonApiBuilder = jsonApiBuilder;
 }
コード例 #33
0
        public LoginViewModel(INavigationService _navigation, IDatabase _database,
                              ILogging _logging, IAccountManager _accountManager, IDialogue _dialogue,
                              IMusicManager _musicManager, IContactManager _contactManager, IContactStore _contactStore, IMusicReader _musicStore) : base(_navigation, _database, _logging, _dialogue)
        {
            //Managers
            accountManager = _accountManager;
            musicManager   = _musicManager;
            contactManager = _contactManager;

            //Dependency Services
            contactStore = _contactStore;
            musicStore   = _musicStore;

            //Commands
            ILogin    = new RelayExtension(Login, CanLogin);
            IRegister = new RelayExtension(Register, CanRegister);

            //Social Auth
            IFacebook = new RelayExtension(Facebook, CanFacebook);
            ITwitter  = new RelayExtension(Twitter, CanTwitter);
            ILinkedIn = new RelayExtension(LinkedIn, CanLinkedIn);
            IGoogle   = new RelayExtension(Google, CanGoogle);

            //Request Permissions for services
            CrossPermissions.Current.RequestPermissionsAsync(new Permission[] { Permission.Camera, Permission.Contacts, Permission.Photos });

            //Load Credentials if Remember Me is clicked
            var credentialsStore = Xamarin.Auth.AccountStore.Create();
            var AccountDetails   = credentialsStore.FindAccountsForService(Credentials_Service);

            if (AccountDetails.ToList().Count != 0)
            {
                if (AccountDetails.First().Properties.Any(w => w.Key == "RememberMe"))
                {
                    if (!string.IsNullOrWhiteSpace(AccountDetails.First().Properties.SingleOrDefault(w => w.Key == "RememberMe").Value))
                    {
                        if (AccountDetails.First().Properties.SingleOrDefault(w => w.Key == "RememberMe").Value.Equals("true"))
                        {
                            RememberMe = true;
                            Username   = AccountDetails.First().Username;
                            Password   = "******";
                        }
                    }
                }
            }
        }
コード例 #34
0
 public CompanyController(ICompanyManager company, IOperatorManager _operator, ITariffManager tariff,
                          UserManager <ApplicationUser> userManager, IGroupManager groupManager,
                          IRecipientManager recipientManager, IPhoneManager phoneManager,
                          IRecievedMessageManager recievedMessageManager, IAnswersCodeManager answersCodeManager,
                          ISubscribeWordManager subscribeWordManager, IContactManager contactManager)
 {
     this.companyManager         = company;
     this.operatorManager        = _operator;
     this.tariffManager          = tariff;
     this.userManager            = userManager;
     this.groupManager           = groupManager;
     this.phoneManager           = phoneManager;
     this.recipientManager       = recipientManager;
     this.recievedMessageManager = recievedMessageManager;
     this.answersCodeManager     = answersCodeManager;
     this.subscribeWordManager   = subscribeWordManager;
     this.contactManager         = contactManager;
 }
コード例 #35
0
        public MainWindow()
        {
            InitializeComponent();

            contactManager = Factory.CreateContactManager();
        }
コード例 #36
0
 public PersonController(IContactManager contactManager)
 {
     _contactManager = contactManager;
 }
コード例 #37
0
ファイル: ContactController.cs プロジェクト: mknizewski/SAP
 public ContactController(IContactManager contactManager)
 {
     _contactManager = contactManager;
 }
コード例 #38
0
 public ApiController()
 {
     this._contactManager = new ContactManager();
 }
コード例 #39
0
ファイル: HomeController.cs プロジェクト: mknizewski/SAP
 public HomeController(IContactManager contactManager, INewsManager newsManager)
 {
     _contactManager = contactManager;
     _newsManager = newsManager;
 }
コード例 #40
0
ファイル: Program.cs プロジェクト: theoju/CleanCode
 private static void ExecutePseudoBootstrapper()
 {
     logger = new Logger(new TextFileLoggingSink());
     contactManager = new ContactManager(logger, new DummyExampleContactPersistence(logger));
 }
コード例 #41
0
 private void Initialize()
 {
     this.contactManager = new ContactManager();
 }
コード例 #42
0
 static Program()
 {
     contactManager = new ContactManager();
 }
コード例 #43
0
 public HomeController()
 {
     this._contactManager = new ContactManager();
 }
コード例 #44
0
 public EditContact()
 {
     InitializeComponent();
     contactManager = Factory.CreateContactManager();
 }