CorruptMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { if (!(mainEntity is Entity)) { throw new InvalidOperationException("mainEntity should be an Entity"); } }
private static XAttribute[] GetAttributes(MixinEntity ee) { return(new[] { new XAttribute("Label", (ee.ToString() ?? "[null]") + Modified(ee)), new XAttribute("TypeName", ee.GetType().TypeName()), new XAttribute("Background", ColorExtensions.ToHtmlColor(ee.GetType().FullName.GetHashCode())), }); }
ColaboratorsMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected UserEmployeeMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
ColaboratorsMixin(IdentifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
DisabledMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected DiffLogMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
DisconnectedCreatedMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
DisconnectedSubsetMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
DisconnectedCreatedMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
IsolationMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected EmailReceptionMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
CorruptMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected DiffLogMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
ColaboratorsMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
DisconnectedCreatedMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
DisconnectedSubsetMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
DisconnectedSubsetMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected internal virtual void CopyFrom(MixinEntity mixin, object[] args) { }
ColaboratorsMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
IsolationMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected override void CopyFrom(MixinEntity mixin, object[] args) { this.IsDisabled = ((DisabledMixin)mixin).IsDisabled; }
protected override void CopyFrom(MixinEntity mixin, object[] args) { Isolation = ((IsolationMixin)mixin).Isolation; }
protected DiffLogMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
CorruptMixin(IdentifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected UserEmployeeMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected override void CopyFrom(MixinEntity mixin, object[] args) { this.IsolationStrategy = ((DynamicIsolationMixin)mixin).IsolationStrategy; }
CaseActivityMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { this.CaseActivity = WorkflowActivityInfo.Current.CaseActivity?.ToLite(); }
protected UserEmployeeMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }
protected DiffLogMixin(ModifiableEntity mainEntity, MixinEntity next) : base(mainEntity, next) { this.RebindEvents(); }
DisabledMixin(Entity mainEntity, MixinEntity next) : base(mainEntity, next) { }