コード例 #1
0
ファイル: AssemblyClass.cs プロジェクト: Kmiiloberrio2/fwk_12
        private void FillPropertys(PropertyInfo[] pPropertysInfo)
        {
            string s = string.Empty;

            try
            {
                foreach (PropertyInfo wProperty in pPropertysInfo)
                {
                    if (wProperty.DeclaringType.Namespace == this.Namespace)
                    {
                        if (wProperty.Name.Length > 4)
                        {
                            s = wProperty.Name.Substring(wProperty.Name.Length - 4, 4);
                        }

                        if (s != "Null")
                        {
                            AssemblyProperty wAssProperty = new AssemblyProperty(wProperty);
                            this.m_Properties.Add(wAssProperty);
                        }
                    }
                }
            }
            catch (System.NullReferenceException)
            {
                throw new NullReferenceException("Referencia Nula");
            }
        }
コード例 #2
0
ファイル: AssemblyProperty.cs プロジェクト: gpanayir/sffwk
		public bool Contains( AssemblyProperty value )  
		{
			// If value is not of type Int16, this will return false.
			return( List.Contains( value ) );
		}
コード例 #3
0
ファイル: AssemblyProperty.cs プロジェクト: gpanayir/sffwk
		public void Remove( AssemblyProperty value )  
		{
			List.Remove( value );
		}
コード例 #4
0
ファイル: AssemblyProperty.cs プロジェクト: gpanayir/sffwk
		public void Insert( int index, AssemblyProperty value )  
		{
			List.Insert( index, value );
		}
コード例 #5
0
ファイル: AssemblyProperty.cs プロジェクト: gpanayir/sffwk
		public int IndexOf( AssemblyProperty value )  
		{
			return( List.IndexOf( value ) );
		}
コード例 #6
0
ファイル: AssemblyProperty.cs プロジェクト: gpanayir/sffwk
		public int Add( AssemblyProperty value )  
		{
			return( List.Add( value ) );
		}
コード例 #7
0
 public bool Contains(AssemblyProperty value)
 {
     // If value is not of type Int16, this will return false.
     return(List.Contains(value));
 }
コード例 #8
0
 public void Remove(AssemblyProperty value)
 {
     List.Remove(value);
 }
コード例 #9
0
 public void Insert(int index, AssemblyProperty value)
 {
     List.Insert(index, value);
 }
コード例 #10
0
 public int IndexOf(AssemblyProperty value)
 {
     return(List.IndexOf(value));
 }
コード例 #11
0
 public int Add(AssemblyProperty value)
 {
     return(List.Add(value));
 }
コード例 #12
0
ファイル: AssemblyClass.cs プロジェクト: gpanayir/sffwk
		private void FillPropertys(PropertyInfo[] pPropertysInfo)
		{
			string s = string.Empty;
			
			try
			{
				foreach (PropertyInfo wProperty in pPropertysInfo)
				{
					if (wProperty.DeclaringType.Namespace == this.Namespace)
					{
					
						if (wProperty.Name.Length >4)
						{
							s = wProperty.Name.Substring (wProperty.Name.Length -4,4);
						}
					
						if (s != "Null")
						{
							AssemblyProperty wAssProperty = new AssemblyProperty (wProperty);
							this.m_Properties.Add(wAssProperty);
						}
					
					}	
				}
			}
			catch (System.NullReferenceException )
			{
				throw new NullReferenceException ("Referencia Nula");  
			}
		}