Exemple #1
0
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfo' for generic use.
 /// </summary>
 /// <param name="className">Class name.</param>
 /// <param name="iuName">IU name.</param>
 /// <param name="previousContext">Previous context.</param>
 public ExchangeInfo(
     string className,
     string iuName,
     IUContext previousContext)
     : this(ExchangeType.Generic, className, iuName, false, previousContext)
 {
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfo' without navigational filter.
 /// </summary>
 /// <param name="exchangeType">Exchange type.</param>
 /// <param name="className">Class name.</param>
 /// <param name="iuName">IU Name.</param>
 /// <param name="previousContext">Previous context.</param>
 public ExchangeInfo(
     ExchangeType exchangeType,
     string className,
     string iuName,
     IUContext previousContext)
     : this(exchangeType, className, iuName, false, previousContext)
 {
 }
        /// <summary>
        /// Initializes a new instance of 'ExchangeInfoAction'.
        /// </summary>
        /// <param name="className">Class name.</param>
        /// <param name="iuName">IU name.</param>
        /// <param name="selectedOids">Selected Oids.</param>
        /// <param name="previousContext">Previous context.</param>
        public ExchangeInfoAction(
			string className,
			string iuName,
			List<Oid> selectedOids,
			IUContext previousContext)
            : base(ExchangeType.Action, className, iuName, previousContext)
        {
            SelectedOids = selectedOids;
        }
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfoAction'.
 /// </summary>
 /// <param name="className">Class name.</param>
 /// <param name="iuName">IU name.</param>
 /// <param name="selectedOids">Selected Oids.</param>
 /// <param name="previousContext">Previous context.</param>
 public ExchangeInfoAction(
     string className,
     string iuName,
     List <Oid> selectedOids,
     IUContext previousContext)
     : base(ExchangeType.Action, className, iuName, previousContext)
 {
     SelectedOids = selectedOids;
 }
 public ExchangeInfoConditionalNavigation(
     ConditionalNavigationInfo conditionalNavigationInfo,
     string className,
     string iuName,
     List <Oid> selectedOids,
     IUContext previousContext)
     : base(className, iuName, selectedOids, previousContext)
 {
     this.ExchangeType         = ExchangeType.ConditionalNavigation;
     ConditionalNavigationInfo = conditionalNavigationInfo;
 }
        public ExchangeInfoConditionalNavigation(
			ConditionalNavigationInfo conditionalNavigationInfo,
			string className,
			string iuName,
			List<Oid> selectedOids,
			IUContext previousContext)
            : base(className, iuName, selectedOids, previousContext)
        {
            this.ExchangeType = ExchangeType.ConditionalNavigation;
            ConditionalNavigationInfo = conditionalNavigationInfo;
        }
 public ExchangeInfoAction(
     string classIUName,
     string iuName,
     string navigationalFilterIdentity,
     List <Oid> selectedOids,
     IUContext previousContext)
     : base(ExchangeType.Action, classIUName, iuName, previousContext)
 {
     SelectedOids = selectedOids;
     //RolePath = rolePath;
     NavigationalFilterIdentity = navigationalFilterIdentity;
 }
        public ExchangeInfoAction(
			string classIUName,
			string iuName,
			string navigationalFilterIdentity,
			List<Oid> selectedOids,
			IUContext previousContext)
            : base(ExchangeType.Action, classIUName, iuName, previousContext)
        {
            SelectedOids = selectedOids;
            //RolePath = rolePath;
            NavigationalFilterIdentity = navigationalFilterIdentity;
        }
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfoNavigation'.
 /// </summary>
 /// <param name="classIUName">Class IU name.</param>
 /// <param name="iuName">IU name.</param>
 /// <param name="rolePath">Role path.</param>
 /// <param name="navigationalFilterIdentity">Navigational filter identity.</param>
 /// <param name="selectedOids">Selected oids.</param>
 /// <param name="previousContext">Previous context.</param>
 /// <param name="text2Title">Title to be shown the Target scenario</param>
 /// <param name="defaultOrderCriteria">Default order criteria to be used in target scenario</param>
 public ExchangeInfoNavigation(
     string classIUName,
     string iuName,
     string rolePath,
     string navigationalFilterIdentity,
     List <Oid> selectedOids,
     IUContext previousContext,
     string text2Title,
     string defaultOrderCriteria)
     : this(classIUName, iuName, rolePath, navigationalFilterIdentity, selectedOids, previousContext, text2Title)
 {
     DefaultOrderCriteria = defaultOrderCriteria;
 }
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfoNavigation'.
 /// </summary>
 /// <param name="classIUName">Class IU name.</param>
 /// <param name="iuName">IU name.</param>
 /// <param name="rolePath">Role path.</param>
 /// <param name="navigationalFilterIdentity">Navigational filter identity.</param>
 /// <param name="selectedOids">Selected oids.</param>
 /// <param name="previousContext">Previous context.</param>
 /// <param name="text2Title">Title to be shown the Target scenario</param>
 /// <param name="defaultOrderCriteria">Default order criteria to be used in target scenario</param>
 public ExchangeInfoNavigation(
     string classIUName,
     string iuName,
     string rolePath,
     string navigationalFilterIdentity,
     List<Oid> selectedOids,
     IUContext previousContext,
     string text2Title,
     string defaultOrderCriteria)
     : this(classIUName, iuName, rolePath,navigationalFilterIdentity, selectedOids, previousContext, text2Title)
 {
     DefaultOrderCriteria = defaultOrderCriteria;
 }
        /// <summary>
        /// Initializes a new instance of 'ExchangeInfoNavigation'.
        /// </summary>
        /// <param name="classIUName">Class IU name.</param>
        /// <param name="iuName">IU name.</param>
        /// <param name="rolePath">Role path.</param>
        /// <param name="navigationalFilterIdentity">Navigational filter identity.</param>
        /// <param name="selectedOids">Selected oids.</param>
        /// <param name="previousContext">Previous context.</param>
        /// <param name="text2Title">Title to be shown the Target scenario</param>
        public ExchangeInfoNavigation(
			string classIUName,
			string iuName,
			string rolePath,
			string navigationalFilterIdentity,
			List<Oid> selectedOids,
			IUContext previousContext,
			string text2Title)
            : base(ExchangeType.Navigation, classIUName, iuName, previousContext)
        {
            SelectedOids = selectedOids;
            RolePath = rolePath;
            NavigationalFilterIdentity = navigationalFilterIdentity;
            Text2Title = text2Title;
        }
Exemple #12
0
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfo'.
 /// </summary>
 /// <param name="exchangeType">Exchange type.</param>
 /// <param name="className">Class name.</param>
 /// <param name="iuName">IU Name.</param>
 /// <param name="isNavigationalFilter">Navigational filter.</param>
 /// <param name="previousContext">Previous context.</param>
 public ExchangeInfo(
     ExchangeType exchangeType,
     string className,
     string iuName,
     bool isNavigationalFilter,
     IUContext previousContext)
 {
     ExchangeType       = exchangeType;
     ClassName          = className;
     IUName             = iuName;
     NavigationalFilter = isNavigationalFilter;
     Previous           = previousContext;
     // Initialize
     CustomData = null;
 }
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfoNavigation'.
 /// </summary>
 /// <param name="classIUName">Class IU name.</param>
 /// <param name="iuName">IU name.</param>
 /// <param name="rolePath">Role path.</param>
 /// <param name="navigationalFilterIdentity">Navigational filter identity.</param>
 /// <param name="selectedOids">Selected oids.</param>
 /// <param name="previousContext">Previous context.</param>
 /// <param name="text2Title">Title to be shown the Target scenario</param>
 public ExchangeInfoNavigation(
     string classIUName,
     string iuName,
     string rolePath,
     string navigationalFilterIdentity,
     List <Oid> selectedOids,
     IUContext previousContext,
     string text2Title)
     : base(ExchangeType.Navigation, classIUName, iuName, previousContext)
 {
     SelectedOids = selectedOids;
     RolePath     = rolePath;
     NavigationalFilterIdentity = navigationalFilterIdentity;
     Text2Title = text2Title;
 }
Exemple #14
0
 /// <summary>
 /// Initializes a new instance of 'ExchangeInfoSelectionForward'.
 /// </summary>
 /// <param name="classIUName">Class IU name.</param>
 /// <param name="iuName">IU name.</param>
 /// <param name="originClassServiceName">Origin class service name.</param>
 /// <param name="originServiceName">Origin service name.</param>
 /// <param name="originArgumentName">Origin argument name.</param>
 /// <param name="isMultiSelection">Is multiple selection.</param>
 /// <param name="isNavigationalFilter">Is navigational filter.</param>
 /// <param name="previousContext">Previous context.</param>
 public ExchangeInfoSelectionForward(
     string classIUName,
     string iuName,
     string originClassServiceName,
     string originServiceName,
     string originArgumentName,
     bool isMultiSelection,
     bool isNavigationalFilter,
     IUContext previousContext)
     : base(ExchangeType.SelectionForward, classIUName, iuName, isNavigationalFilter, previousContext)
 {
     ServiceClassName      = originClassServiceName;
     ServiceName           = originServiceName;
     ArgumentName          = originArgumentName;
     MultiSelectionAllowed = isMultiSelection;
 }
        /// <summary>
        /// Initializes a new instance of 'ExchangeInfoSelectionForward'.
        /// </summary>
        /// <param name="classIUName">Class IU name.</param>
        /// <param name="iuName">IU name.</param>
        /// <param name="originClassServiceName">Origin class service name.</param>
        /// <param name="originServiceName">Origin service name.</param>
        /// <param name="originArgumentName">Origin argument name.</param>
        /// <param name="isMultiSelection">Is multiple selection.</param>
        /// <param name="isNavigationalFilter">Is navigational filter.</param>
        /// <param name="previousContext">Previous context.</param>
        public ExchangeInfoSelectionForward(
			string classIUName,
			string iuName,
			string originClassServiceName,
			string originServiceName,
			string originArgumentName,
			bool isMultiSelection,
			bool isNavigationalFilter,
			IUContext previousContext)
            : base(ExchangeType.SelectionForward, classIUName, iuName, isNavigationalFilter, previousContext)
        {
            ServiceClassName = originClassServiceName;
            ServiceName = originServiceName;
            ArgumentName = originArgumentName;
            MultiSelectionAllowed = isMultiSelection;
        }
Exemple #16
0
 /// <summary>
 /// Initializes a new instance of 'IUContext'.
 /// </summary>
 /// <param name="previous">Previous.</param>
 /// <param name="contextType">Context type.</param>
 /// <param name="relationType">Relation type.</param>
 /// <param name="iuName">IU name.</param>
 public IUContext(IUContext previous, ContextType contextType, RelationType relationType, string iuName)
     : this(contextType, relationType, iuName)
 {
     mPrevious = previous;
 }
Exemple #17
0
 /// <summary>
 /// Initializes a new instance of 'IUContext'.
 /// </summary>
 /// <param name="previous">Previous.</param>
 /// <param name="contextType">Context type.</param>
 /// <param name="relationType">Relation type.</param>
 /// <param name="iuName">IU name.</param>
 public IUContext(IUContext previous, ContextType contextType, RelationType relationType, string iuName)
     : this(contextType, relationType, iuName)
 {
     mPrevious = previous;
 }
        /// <summary>
        /// Initializes a new instance of 'IUErrorContext'.
        /// </summary>
        /// <param name="previous">Previous.</param>
        /// <param name="exception">Exception.</param>
        public IUErrorContext(IUContext previous, Exception exception)
            : base(previous, ContextType.Error, RelationType.Navigation, string.Empty)

        {
            mException = exception;
        }
        /// <summary>
        /// Initializes a new instance of 'ExchangeInfo'.
        /// </summary>
        /// <param name="exchangeType">Exchange type.</param>
        /// <param name="className">Class name.</param>
        /// <param name="iuName">IU Name.</param>
        /// <param name="isNavigationalFilter">Navigational filter.</param>
        /// <param name="previousContext">Previous context.</param>
        public ExchangeInfo(
			ExchangeType exchangeType,
			string className,
			string iuName,
			bool isNavigationalFilter,
			IUContext previousContext)
        {
            ExchangeType = exchangeType;
            ClassName = className;
            IUName = iuName;
            NavigationalFilter = isNavigationalFilter;
            Previous = previousContext;
            // Initialize
            CustomData = null;
        }
        /// <summary>
        /// Initializes a new instance of 'ExchangeInfo' for generic use.
        /// </summary>
        /// <param name="className">Class name.</param>
        /// <param name="iuName">IU name.</param>
        /// <param name="previousContext">Previous context.</param>
        public ExchangeInfo(
			string className,
			string iuName,
			IUContext previousContext)
            : this(ExchangeType.Generic, className, iuName, false, previousContext)
        {
        }
        /// <summary>
        /// Initializes a new instance of 'ExchangeInfo' without navigational filter.
        /// </summary>
        /// <param name="exchangeType">Exchange type.</param>
        /// <param name="className">Class name.</param>
        /// <param name="iuName">IU Name.</param>
        /// <param name="previousContext">Previous context.</param>
        public ExchangeInfo(
			ExchangeType exchangeType,
			string className,
			string iuName,
			IUContext previousContext)
            : this(exchangeType,className,iuName,false,previousContext)
        {
        }
 /// <summary>
 /// Initializes a new instance of 'IUErrorContext'.
 /// </summary>
 /// <param name="previous">Previous.</param>
 /// <param name="exception">Exception.</param>
 public IUErrorContext(IUContext previous, Exception exception)
     : base(previous, ContextType.Error,RelationType.Navigation,string.Empty)
 {
     mException = exception;
 }