public ResolvedAssignmentStatement(Location location, Entity source, SecondaryEntity target, bool targetReferencedByThis = false) : base(location) { Source = source; Target = target; TargetReferencedByThis = targetReferencedByThis; }
public MyContext( GssNode <MyStackData, MyGssData> stackTop, SecondaryEntity reference) : base(stackTop) { Reference = reference; }
public static ResolvedLocalVariable FindClosestLocalOwner(SecondaryEntity entity) { if (entity is ResolvedLocalVariable justLocalVariable) { return(justLocalVariable); } if (entity is ResolvedObjectField field) { return(FindClosestLocalOwner(field.OwningObject)); } return(null); }
public void RefreshFromSdkMessageFilter(SdkMessageFilter filter) { if (filter == null) { throw new ArgumentNullException("filter"); } if (filter.SdkMessageFilterId != null) { MessageEntityId = filter.SdkMessageFilterId.Value; } if (filter.SdkMessageId != null) { MessageId = filter.SdkMessageId.Id; } if (!string.IsNullOrEmpty(filter.PrimaryObjectTypeCode)) { PrimaryEntity = filter.PrimaryObjectTypeCode; } if (!string.IsNullOrEmpty(filter.SecondaryObjectTypeCode)) { SecondaryEntity = filter.SecondaryObjectTypeCode; } if (filter.CustomizationLevel != null) { CustomizationLevel = filter.CustomizationLevel.Value; } if ((string.IsNullOrWhiteSpace(PrimaryEntity) || PrimaryEntity.Equals("none")) && (string.IsNullOrWhiteSpace(SecondaryEntity) || SecondaryEntity.Equals("none"))) { Availability = CrmPluginStepDeployment.Both; } else { Availability = (CrmPluginStepDeployment)Enum.ToObject(typeof(CrmPluginStepDeployment), filter.Availability.GetValueOrDefault()); } CreatedOn = filter.CreatedOn; ModifiedOn = filter.ModifiedOn; }
public MyStackData(MyTransition callingEdge, SecondaryEntity trackedEntity, bool trampoline) { CallingEdge = callingEdge; TrackedEntity = trackedEntity; Trampoline = trampoline; }
public override bool PropagateForward(SecondaryEntity recipient) { return(true); }
public FakeTrampolineEntity(SecondaryEntity originalTarget) { OriginalTarget = originalTarget; }
public void StoreAdditionalVariable(SecondaryEntity variable) { AdditionalVariables.Add(variable); }