DDay.iCal.UIDFactory.Build C# (CSharp) 메소드

Build() 공개 메소드

public Build ( ) : string
리턴 string
        virtual public string Build()
        {
            return Guid.NewGuid().ToString();
        }
    }

Usage Example

예제 #1
0
 /// <summary>
 /// Automatically assigns a UID to items that do not already have one.
 /// </summary>
 public void ResolveUIDs()
 {
     foreach (T item in this)
     {
         if (string.IsNullOrEmpty(item.UID))
         {
             item.UID = m_UIDFactory.Build();
         }
     }
 }
All Usage Examples Of DDay.iCal.UIDFactory::Build
UIDFactory