示例#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)
 {
 }
示例#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;
        }
示例#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;
 }
示例#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;
        }
示例#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;
 }
示例#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;
 }
示例#18
0
        /// <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;
        }
示例#19
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;
        }
示例#20
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)
        {
        }
示例#21
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)
        {
        }
示例#22
0
 /// <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;
 }