public XYZObject()
        {
            var dataSourceManager = DataManager.DataSourceManager;

            _structuredArchiveDataSource = XYZOjectDataSourceFactory.Get(dataSourceManager);
            //
            _droid = _structuredArchiveDataSource.GenerateDroid();
            _structuredArchiveDataSource.AddItem(_droid, this);
        }
        public SaveableArguments()
        {
            sADS = CONNECTModifiedKhDataSourceFactory.Get(DataManager.DataSourceManager);

            if (sADS != null)
            {
                Droid = PermMatching.ArgsDroid;
                sADS.AddItem(Droid, this);

            }
        }
Ejemplo n.º 3
0
        protected override Arguments CreateArgumentPackageCore(IDataSourceManager manager)
        {
            Arguments argPack = new Arguments();

            StructuredArchiveDataSource dataSource = manager.GetSource(ArgumentPackageDataSourceFactory.DataSourceId) as StructuredArchiveDataSource;

            if (dataSource != null)
            {
                argPack.Droid = dataSource.GenerateDroid();
                dataSource.AddItem(argPack.Droid, argPack);
            }

            return(argPack);
        }