本文整理汇总了C#中IDocumentService类的典型用法代码示例。如果您正苦于以下问题:C# IDocumentService类的具体用法?C# IDocumentService怎么用?C# IDocumentService使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IDocumentService类属于命名空间,在下文中一共展示了IDocumentService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FascicoloImmobiliareService
public FascicoloImmobiliareService(IProtocolloService protocolloService, IDocumentService documentService, IArchiviazioneOtticaService archiviazioneOtticaService, IDaoFactory daoFactory)
{
_protocolloService = protocolloService;
_documentService = documentService;
_archiviazioneOtticaService = archiviazioneOtticaService;
_daoFactory = daoFactory;
}
示例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;
}
示例3: frmMain
public frmMain(IDocumentService documentService, IConfigService configService)
{
this.documentService = documentService;
this.configService = configService;
InitializeComponent();
}
示例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;
}
示例5: IncomesController
public IncomesController(IDocumentService<IncomeEFModel> incomeService,
ICatalogService<ProductEFModel> productService, ICatalogService<SizeEFModel> sizeService)
{
this.incomeService = incomeService;
this.productService = productService;
this.sizeService = sizeService;
}
示例6: Service
public Service(IDocumentService documentService, IProcessService processService, ISubProcessService subProcessService, IClassificationService classificationService)
{
this.documentService = documentService;
this.processService = processService;
this.subProcessService = subProcessService;
this.classificationService = classificationService;
}
示例7: CommandLineArgsService
public CommandLineArgsService(
IDocumentRegistry documentRegistry,
IDocumentService documentService)
{
m_documentRegistry = documentRegistry;
m_documentService = documentService;
}
示例8: MediaCategoryControllerTests
public MediaCategoryControllerTests()
{
_documentService = A.Fake<IDocumentService>();
_fileService = A.Fake<IFileAdminService>();
_urlValidationService = A.Fake<IUrlValidationService>();
_mediaCategoryController = new MediaCategoryController(_fileService, _urlValidationService, _documentService);
}
示例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;
}
示例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)));
}
示例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);
}
示例12: DisbursementHistoryServiceTest
public DisbursementHistoryServiceTest()
{
_nachaFileManager = Substitute.For<INachaFileGenerationManager>();
_documentService = Substitute.For<IDocumentService>();
_archiveService = Substitute.For<IArchiveService>();
_target = new DisbursementHistoryService(_nachaFileManager, _documentService, _archiveService);
}
示例13: ProductServiceTests
public ProductServiceTests()
{
_documentService = A.Fake<IDocumentService>();
_siteSettings = new SiteSettings() { DefaultPageSize = 10 };
_uniquePageService = A.Fake<IUniquePageService>();
_productService = new ProductService(Session, _documentService, _siteSettings, _uniquePageService);
}
示例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);
}
示例15: SetupEcommerceWidgets
public SetupEcommerceWidgets(IWidgetService widgetService, IDocumentService documentService, IFormAdminService formAdminService, IFileService fileService)
{
_widgetService = widgetService;
_documentService = documentService;
_formAdminService = formAdminService;
_fileService = fileService;
}