Beispiel #1
0
 public void BrokerEditorInitializeHelper(IDataSourceEditor dataSourceEditor)
 {
     if (this.dataSourceEditor != null)
     {
         if (this.dataSourceEditor == dataSourceEditor)
         {
             return;
         }
         string msg = "this.dataSourceEditor!=null, already initialized; should I overwrite it with another instance you provided?...";
         throw new Exception(msg);
     }
     this.dataSourceEditor = dataSourceEditor;
 }
		public void BrokerEditorInitializeHelper(IDataSourceEditor dataSourceEditor) {
			if (this.dataSourceEditor != null) {
				if (this.dataSourceEditor == dataSourceEditor) return;
				string msg = "this.dataSourceEditor!=null, already initialized; should I overwrite it with another instance you provided?...";
				throw new Exception(msg);
			}
			this.dataSourceEditor = dataSourceEditor;
		}
		public virtual BrokerEditor BrokerEditorInitialize(IDataSourceEditor dataSourceEditor) {
			throw new Exception("please override BrokerProvider::BrokerEditorInitialize() for [" + this + "]:"
				+ " 1) use base.BrokerEditorInitializeHelper()"
				+ " 2) do base.BrokerEditorInstance=new FoobarBrokerEditor()");
		}
Beispiel #4
0
 public virtual BrokerEditor BrokerEditorInitialize(IDataSourceEditor dataSourceEditor)
 {
     throw new Exception("please override BrokerProvider::BrokerEditorInitialize() for [" + this + "]:"
                         + " 1) use base.BrokerEditorInitializeHelper()"
                         + " 2) do base.BrokerEditorInstance=new FoobarBrokerEditor()");
 }
		public StreamingEditor(StreamingProvider streamingProvider, IDataSourceEditor dataSourceEditor) {
			this.streamingProvider = streamingProvider;
			this.dataSourceEditor = dataSourceEditor;
		}
		public virtual StreamingEditor StreamingEditorInitialize(IDataSourceEditor dataSourceEditor) {
			throw new Exception("please override StreamingProvider::StreamingEditorInitialize():"
				+ " 1) use base.StreamingEditorInitializeHelper()"
				+ " 2) do base.streamingEditorInstance=new FoobarStreamingEditor()");
		}
Beispiel #7
0
 public virtual StreamingEditor StreamingEditorInitialize(IDataSourceEditor dataSourceEditor)
 {
     throw new Exception("please override StreamingProvider::StreamingEditorInitialize():"
                         + " 1) use base.StreamingEditorInitializeHelper()"
                         + " 2) do base.streamingEditorInstance=new FoobarStreamingEditor()");
 }
		public BrokerEditor(BrokerProvider BrokerProvider, IDataSourceEditor dataSourceEditor) {
			this.brokerProvider = BrokerProvider;
			this.dataSourceEditor = dataSourceEditor;
		}