本文整理汇总了C#中IDocumentService类的典型用法代码示例。如果您正苦于以下问题:C# IDocumentService类的具体用法?C# IDocumentService怎么用?C# IDocumentService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IDocumentService类属于命名空间,在下文中一共展示了IDocumentService类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: FascicoloImmobiliareService
public FascicoloImmobiliareService(IProtocolloService protocolloService, IDocumentService documentService, IArchiviazioneOtticaService archiviazioneOtticaService, IDaoFactory daoFactory)
{
_protocolloService = protocolloService;
_documentService = documentService;
_archiviazioneOtticaService = archiviazioneOtticaService;
_daoFactory = daoFactory;
}
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:FascicoloImmobiliareService.cs
示例2: TimelineEditor
public TimelineEditor(
IControlHostService controlHostService,
ICommandService commandService,
IContextRegistry contextRegistry,
IDocumentRegistry documentRegistry,
IDocumentService documentService,
IPaletteService paletteService,
ISettingsService settingsService)
{
s_schemaLoader = new SchemaLoader();
s_repository.DocumentAdded += repository_DocumentAdded;
s_repository.DocumentRemoved += repository_DocumentRemoved;
paletteService.AddItem(Schema.markerType.Type, "Timelines", this);
paletteService.AddItem(Schema.groupType.Type, "Timelines", this);
paletteService.AddItem(Schema.trackType.Type, "Timelines", this);
paletteService.AddItem(Schema.intervalType.Type, "Timelines", this);
paletteService.AddItem(Schema.keyType.Type, "Timelines", this);
paletteService.AddItem(Schema.timelineRefType.Type, "Timelines", this);
m_contextRegistry = contextRegistry;
m_documentRegistry = documentRegistry;
m_controlHostService = controlHostService;
m_documentService = documentService;
m_settingsService = settingsService;
}
开发者ID:GeertVL,项目名称:ATF,代码行数:26,代码来源:TimelineEditor.cs
示例3: frmMain
public frmMain(IDocumentService documentService, IConfigService configService)
{
this.documentService = documentService;
this.configService = configService;
InitializeComponent();
}
开发者ID:basmith,项目名称:fakepad,代码行数:7,代码来源:frmMain.cs
示例4: GameEditor
public GameEditor(
IContextRegistry contextRegistry,
IDocumentRegistry documentRegistry,
IControlHostService controlHostService,
ICommandService commandService,
IDocumentService documentService,
IPaletteService paletteService,
ISettingsService settingsService,
IResourceService resourceService,
LevelEditorCore.ResourceLister resourceLister,
BookmarkLister bookmarkLister
)
{
m_contextRegistry = contextRegistry;
m_documentRegistry = documentRegistry;
m_paletteService = paletteService;
m_settingsService = settingsService;
m_documentService = documentService;
m_resourceService = resourceService;
m_resourceLister = resourceLister;
m_bookmarkLister = bookmarkLister;
//to-do wire it to to command service
InputScheme.ActiveControlScheme = new MayaControlScheme();
ResolveOnLoad = true;
}
开发者ID:calciferol,项目名称:LevelEditor,代码行数:26,代码来源:GameEditor.cs
示例5: IncomesController
public IncomesController(IDocumentService<IncomeEFModel> incomeService,
ICatalogService<ProductEFModel> productService, ICatalogService<SizeEFModel> sizeService)
{
this.incomeService = incomeService;
this.productService = productService;
this.sizeService = sizeService;
}
开发者ID:slootsky-oleg,项目名称:WKeeper,代码行数:7,代码来源:IncomesController.cs
示例6: Service
public Service(IDocumentService documentService, IProcessService processService, ISubProcessService subProcessService, IClassificationService classificationService)
{
this.documentService = documentService;
this.processService = processService;
this.subProcessService = subProcessService;
this.classificationService = classificationService;
}
开发者ID:jfvaleroso,项目名称:WMS_Revised,代码行数:7,代码来源:Service.cs
示例7: CommandLineArgsService
public CommandLineArgsService(
IDocumentRegistry documentRegistry,
IDocumentService documentService)
{
m_documentRegistry = documentRegistry;
m_documentService = documentService;
}
开发者ID:JanDeHud,项目名称:LevelEditor,代码行数:7,代码来源:CommandLineArgsService.cs
示例8: MediaCategoryControllerTests
public MediaCategoryControllerTests()
{
_documentService = A.Fake<IDocumentService>();
_fileService = A.Fake<IFileAdminService>();
_urlValidationService = A.Fake<IUrlValidationService>();
_mediaCategoryController = new MediaCategoryController(_fileService, _urlValidationService, _documentService);
}
开发者ID:neozhu,项目名称:MrCMS,代码行数:7,代码来源:MediaCategoryControllerTests.cs
示例9: Editor
public Editor(
IControlHostService controlHostService,
ICommandService commandService,
IContextRegistry contextRegistry,
IDocumentRegistry documentRegistry,
IDocumentService documentService,
PrototypeLister prototypeLister,
SchemaLoader schemaLoader,
DiagramTheme diagramTheme)
{
m_controlHostService = controlHostService;
m_commandService = commandService;
m_contextRegistry = contextRegistry;
m_documentRegistry = documentRegistry;
m_documentService = documentService;
m_prototypeLister = prototypeLister;
m_schemaLoader = schemaLoader;
m_theme = new D2dDiagramTheme();
m_fsmRenderer = new D2dDigraphRenderer<State, Transition>(m_theme);
string initialDirectory = Path.Combine(Directory.GetCurrentDirectory(), "..\\..\\..\\..\\components\\wws_atf\\Samples\\FsmEditor\\data");
EditorInfo.InitialDirectory = initialDirectory;
}
开发者ID:Joxx0r,项目名称:ATF,代码行数:25,代码来源:Editor.cs
示例10: AllDocumentsViewModel
public AllDocumentsViewModel(IDocumentService service, IEventAggregator eventAggregator)
{
this.service = service;
this.eventAggregator = eventAggregator;
eventAggregator.GetEvent<PubSubEvent<DocumentsCollectionUpdateEvent>>().Subscribe(this.UpdateCollection);
this.service.GetAll().ForEach(x => this.Documents.Add(new DocumentViewModel(x, this.service)));
}
开发者ID:binaryfr3ak,项目名称:Documentania,代码行数:7,代码来源:AllDocumentsViewModel.cs
示例11: Editor
public Editor(
IControlHostService controlHostService,
ICommandService commandService,
IContextRegistry contextRegistry,
IDocumentRegistry documentRegistry,
IDocumentService documentService,
PrototypeLister prototypeLister,
LayerLister layerLister,
SchemaLoader schemaLoader)
{
m_controlHostService = controlHostService;
m_commandService = commandService;
m_contextRegistry = contextRegistry;
m_documentRegistry = documentRegistry;
m_documentService = documentService;
m_prototypeLister = prototypeLister;
m_layerLister = layerLister;
m_schemaLoader = schemaLoader;
string initialDirectory = Path.Combine(Directory.GetCurrentDirectory(), "..\\..\\..\\..\\components\\wws_atf\\Samples\\CircuitEditor\\data");
EditorInfo.InitialDirectory = initialDirectory;
m_theme = new D2dDiagramTheme();
m_circuitRenderer = new D2dCircuitRenderer<Module, Connection, ICircuitPin>(m_theme, documentRegistry);
m_subGraphRenderer = new D2dSubCircuitRenderer<Module, Connection, ICircuitPin>(m_theme);
// create d2dcontrol for displaying sub-circuit
m_d2dHoverControl = new D2dAdaptableControl();
m_d2dHoverControl.Dock = DockStyle.Fill;
var xformAdapter = new TransformAdapter();
xformAdapter.EnforceConstraints = false;//to allow the canvas to be panned to view negative coordinates
m_d2dHoverControl.Adapt(xformAdapter, new D2dGraphAdapter<Module, Connection, ICircuitPin>(m_circuitRenderer, xformAdapter));
m_d2dHoverControl.DrawingD2d += new EventHandler(m_d2dHoverControl_DrawingD2d);
}
开发者ID:vincenthamm,项目名称:ATF,代码行数:34,代码来源:Editor.cs
示例12: DisbursementHistoryServiceTest
public DisbursementHistoryServiceTest()
{
_nachaFileManager = Substitute.For<INachaFileGenerationManager>();
_documentService = Substitute.For<IDocumentService>();
_archiveService = Substitute.For<IArchiveService>();
_target = new DisbursementHistoryService(_nachaFileManager, _documentService, _archiveService);
}
开发者ID:evkap,项目名称:DVS,代码行数:7,代码来源:DisbursementHistoryServiceTest.cs
示例13: ProductServiceTests
public ProductServiceTests()
{
_documentService = A.Fake<IDocumentService>();
_siteSettings = new SiteSettings() { DefaultPageSize = 10 };
_uniquePageService = A.Fake<IUniquePageService>();
_productService = new ProductService(Session, _documentService, _siteSettings, _uniquePageService);
}
开发者ID:neozhu,项目名称:Ecommerce,代码行数:7,代码来源:ProductServiceTests.cs
示例14: TheName
protected void TheName(string fullName)
{
model = new NewAccountModel { FirstName = fullName.Split(' ')[0], LastName = fullName.Split(' ')[1] };
session = Substitute.For<IDocumentService>();
cookieGenerator = Substitute.For<IAuthCookieGenerator>();
controller = new RegistrationController(session, cookieGenerator);
}
开发者ID:liammclennan,项目名称:TIS,代码行数:7,代码来源:NewUser.cs
示例15: SetupEcommerceWidgets
public SetupEcommerceWidgets(IWidgetService widgetService, IDocumentService documentService, IFormAdminService formAdminService, IFileService fileService)
{
_widgetService = widgetService;
_documentService = documentService;
_formAdminService = formAdminService;
_fileService = fileService;
}
开发者ID:neozhu,项目名称:Ecommerce,代码行数:7,代码来源:SetupEcommerceWidgets.cs
示例16: TheDayIs
private void TheDayIs(CalendarDay day)
{
this.day = day;
_documentService = Substitute.For<IDocumentService>();
_documentService.Query(Arg.Any<AccountByNameSlug>()).Returns((new List<Account> { account }).AsQueryable());
controller = new TodayController(_documentService);
}
开发者ID:liammclennan,项目名称:TIS,代码行数:7,代码来源:RemoveGoal.cs
示例17: AssociateController
public AssociateController(
IMembershipService membershipService,
IMembershipService associateMembershipService,
IAssociateService associateService,
IDocumentService documentService,
IReferenceService referenceService,
IEmployeeService employeeService,
IProspectService prospectService,
IPrincipal user,
IClientProjectSharedService clientProjectSharedService,
IIndividualService individualService,
IRoleService roleService,
Admin.Services.IEmailService emailService)
: base(membershipService, associateService, user)
{
this.associateService = associateService;
this.documentService = documentService;
this.referenceService = referenceService;
this.employeeService = employeeService;
this.prospectService = prospectService;
this.associateMembershipService = associateMembershipService;
this.clientProjectSharedService = clientProjectSharedService;
this.individualService = individualService;
this.roleService = roleService;
this.emailService = emailService;
}
开发者ID:itvijaykumar,项目名称:MRTest,代码行数:26,代码来源:Sample1_Controller.cs
示例18: ProductService
public ProductService(ISession session, IDocumentService documentService, SiteSettings ecommerceSettings, IUniquePageService uniquePageService)
{
_session = session;
_documentService = documentService;
_ecommerceSettings = ecommerceSettings;
_uniquePageService = uniquePageService;
}
开发者ID:neozhu,项目名称:Ecommerce,代码行数:7,代码来源:ProductService.cs
示例19: FormPostingHandler
public FormPostingHandler(IDocumentService documentService, IFileService fileService, MailSettings mailSettings, ISession session)
{
_documentService = documentService;
_session = session;
_fileService = fileService;
_mailSettings = mailSettings;
}
开发者ID:neozhu,项目名称:MrCMS,代码行数:7,代码来源:FormPostingHandler.cs
示例20: WebpageController
public WebpageController(IWebpageBaseViewDataService webpageBaseViewDataService,
IDocumentService documentService, IUrlValidationService urlValidationService)
{
_webpageBaseViewDataService = webpageBaseViewDataService;
_documentService = documentService;
_urlValidationService = urlValidationService;
}
开发者ID:neozhu,项目名称:MrCMS,代码行数:7,代码来源:WebpageController.cs
注:本文中的IDocumentService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论