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

            _structuredArchiveDataSource = XYZOjectDataSourceFactory.Get(dataSourceManager);
            //
            _droid = _structuredArchiveDataSource.GenerateDroid();
            _structuredArchiveDataSource.AddItem(_droid, this);
        }
Ejemplo n.º 2
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);
        }