コード例 #1
0
        public ObjectDetailsModel(RmResource resource, IFimClient fimClient, WindowsManager windowsManager)
        {
            _fimClient = fimClient;
            _windowsManager = windowsManager;

            Resource = resource;

            Attributes = resource.Attributes
                .Select(x => new FlattenedAttribute(x))
                .ToList();
        }
コード例 #2
0
ファイル: MainModel.cs プロジェクト: Predica/FimExplorer
        public MainModel(MainWindow parent, IFimClient fimClient, WindowsManager windowsManager, IXmlExporter xmlExporter)
        {
            _parent = parent;
            _fimClient = fimClient;
            _windowsManager = windowsManager;
            _xmlExporter = xmlExporter;

            ObjectTypes = new ObservableCollection<RmObjectTypeDescription>();
            CurrentAttributes = new ObservableCollection<SelectableAttribute>();
        }