Esempio n. 1
0
        public virtual bool CanExecute(DatabaseUri databaseUri, [NotNull] BuildSourceField field)
        {
            Assert.ArgumentNotNull(databaseUri, nameof(databaseUri));
            Assert.ArgumentNotNull(field, nameof(field));

            return(true);
        }
        public BuildSourceDialog([NotNull] DatabaseUri databaseUri, [NotNull] BuildSourceField field, [NotNull] string dataSource)
        {
            Assert.ArgumentNotNull(databaseUri, nameof(databaseUri));
            Assert.ArgumentNotNull(field, nameof(field));
            Assert.ArgumentNotNull(dataSource, nameof(dataSource));

            InitializeComponent();
            this.InitializeDialog();

            DatabaseUri          = databaseUri;
            Field                = field;
            DataSourceField.Text = dataSource;

            Loaded += ControlLoaded;
        }
Esempio n. 3
0
 public abstract DataSourceString Execute(DatabaseUri databaseUri, BuildSourceField field, DataSourceString dataSource);