Exemple #1
0
		public AttachedWrapper2 ()
		{
			Value = new Attached ();
		}
 public void AttachedReadOnly_Only_Generates_Getter()
 {
     Assert.AreEqual(1, Attached.GetReadOnly(base.Window));
     Assert.IsNull(typeof(Attached).GetMethod("SetReadOnly"));
 }
Exemple #3
0
 private void _device_Attached(object sender, EventArgs e)
 {
     Attached?.Invoke(this, null);
 }
Exemple #4
0
        public virtual void Attach(object target)
        {
            Target = target;

            Attached?.Invoke(this, EventArgs.Empty);
        }
Exemple #5
0
		public override sealed void Clear() {
			Table.Clear();
			Attached.Clear();
			IsLoaded = false;
			IsEnabled = true;
		}