internal CompilerInputContract(ICompilerInputContract other, int ordinal = 0)
        {
            this.Ordinal = ordinal;
            Debug.Assert(!ReferenceEquals(other, null), "other is null");
            this.InterfaceName = other.InterfaceName;
            if(!ReferenceEquals(other.Properties, null))
            {
                foreach(var item in other.Properties)
                {
                    if(!ReferenceEquals(item, null))
                    {
                        var clone = new  CompilerInputContractProperty(item, this.Properties.Count );
                        this.Properties.Add( clone );
                    }
                }
            }

            OnCreated();
        }
예제 #2
0
 internal void RegisterProperty(CompilerInputContractProperty property)
 {
     //this.m_properties.Add(new ContractProperty(property));
 }