NClass.Core.NestingRelationship.OnAttaching C# (CSharp) 메소드

OnAttaching() 보호된 메소드

/// Cannot finalize relationship. ///
protected OnAttaching ( EventArgs e ) : void
e System.EventArgs
리턴 void
		protected override void OnAttaching(EventArgs e)
		{
			if (InnerType.IsNested)
				throw new RelationshipException(Strings.ErrorInnerTypeAlreadyNested);

			InnerType.NestingParent = ParentType;
		}